Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.

Commit

Permalink
Added CSS class to the project description field on form (textarea)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Sep 11, 2010
1 parent 756e1b0 commit 4351bce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion labs/templates/admin/projects/edit.html
Expand Up @@ -13,7 +13,7 @@ <h2>Edit "{{ project.name }}" project</h2>
<dl>
{{ render_field(form.language) }}
{{ render_field(form.name) }}
{{ render_field(form.description) }}
{{ render_field(form.description, class = 'project_description') }}
{{ render_field(form.github_url) }}
{{ render_field(form.documentation_url) }}
<dt></dt>
Expand Down
2 changes: 1 addition & 1 deletion labs/templates/admin/projects/new.html
Expand Up @@ -13,7 +13,7 @@ <h2>New project</h2>
<dl>
{{ render_field(form.language) }}
{{ render_field(form.name) }}
{{ render_field(form.description) }}
{{ render_field(form.description, class = 'project_description') }}
{{ render_field(form.github_url) }}
{{ render_field(form.documentation_url) }}
<dt></dt>
Expand Down
6 changes: 6 additions & 0 deletions static/css/style.css
Expand Up @@ -194,3 +194,9 @@ ul.projects_list {
ul.projects_list li {
padding-top: 20px;
}

textarea.project_description {
width: 400px;
height: 300px;
font-size: 14pt;
}

0 comments on commit 4351bce

Please sign in to comment.