From d18c6bf1ca86f08fdc5cedf621d8222e6011169a Mon Sep 17 00:00:00 2001 From: AurelioAHeckert Date: Thu, 3 Jan 2008 21:57:15 +0000 Subject: [PATCH] ActionItem56: mais umazinha... --- app/helpers/application_helper.rb | 2 +- public/designs/templates/default/stylesheets/forms.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index f9424bd..3cebafc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -194,7 +194,7 @@ module ApplicationHelper field_type = $1 label_html = content_tag('label', text, :class => 'formlabel', :for => field_id) - control_html = content_tag('div', field_html, :class => 'formfield '+field_type ) + control_html = content_tag('div', field_html, :class => 'formfield type-'+field_type ) content_tag('div', label_html + control_html, :class => 'formfieldline' ) end diff --git a/public/designs/templates/default/stylesheets/forms.css b/public/designs/templates/default/stylesheets/forms.css index f0f1541..28b92e9 100644 --- a/public/designs/templates/default/stylesheets/forms.css +++ b/public/designs/templates/default/stylesheets/forms.css @@ -25,8 +25,8 @@ padding: 2px 0px 0px 5px; } -.formfield.radio input, -.formfield.checkbox input { +.formfield.type-radio input, +.formfield.type-checkbox input { background: none; border: none; } -- libgit2 0.21.2