Commit d18c6bf1ca86f08fdc5cedf621d8222e6011169a
1 parent
1eaeacef
Exists in
staging
and in
42 other branches
ActionItem56: mais umazinha...
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1180 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
app/helpers/application_helper.rb
| @@ -194,7 +194,7 @@ module ApplicationHelper | @@ -194,7 +194,7 @@ module ApplicationHelper | ||
| 194 | field_type = $1 | 194 | field_type = $1 |
| 195 | 195 | ||
| 196 | label_html = content_tag('label', text, :class => 'formlabel', :for => field_id) | 196 | label_html = content_tag('label', text, :class => 'formlabel', :for => field_id) |
| 197 | - control_html = content_tag('div', field_html, :class => 'formfield '+field_type ) | 197 | + control_html = content_tag('div', field_html, :class => 'formfield type-'+field_type ) |
| 198 | 198 | ||
| 199 | content_tag('div', label_html + control_html, :class => 'formfieldline' ) | 199 | content_tag('div', label_html + control_html, :class => 'formfieldline' ) |
| 200 | end | 200 | end |
public/designs/templates/default/stylesheets/forms.css
| @@ -25,8 +25,8 @@ | @@ -25,8 +25,8 @@ | ||
| 25 | padding: 2px 0px 0px 5px; | 25 | padding: 2px 0px 0px 5px; |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | -.formfield.radio input, | ||
| 29 | -.formfield.checkbox input { | 28 | +.formfield.type-radio input, |
| 29 | +.formfield.type-checkbox input { | ||
| 30 | background: none; | 30 | background: none; |
| 31 | border: none; | 31 | border: none; |
| 32 | } | 32 | } |