From fe19b6963f1137cef02500678e5675e708080984 Mon Sep 17 00:00:00 2001 From: Dan Croak Date: Thu, 16 Jul 2009 07:38:33 -0400 Subject: [PATCH] updated semi_formal --- vendor/plugins/semi_formal/lib/semi_formal.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vendor/plugins/semi_formal/lib/semi_formal.rb b/vendor/plugins/semi_formal/lib/semi_formal.rb index a57c41c..22df674 100644 --- a/vendor/plugins/semi_formal/lib/semi_formal.rb +++ b/vendor/plugins/semi_formal/lib/semi_formal.rb @@ -4,7 +4,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder "
" + label(field, options[:label] || {}) + text_field(field, options[:text_field] || {}) + - "
" + "
" end def password(field, *args) @@ -12,7 +12,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder "
" + label(field, options[:label] || {}) + password_field(field, options[:password_field] || {}) + - "
" + "
" end def boolean(field, *args) @@ -20,7 +20,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder "
" + check_box(field, options[:check_box] || {}) + label(field, options[:label] || {}) + - "
" + "
" end def numeric(field, *args) @@ -28,7 +28,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder "
" + label(field, options[:label] || {}) + text_field(field, options[:text_field] || {}) + - "
" + "
" end alias :integer :numeric alias :float :numeric @@ -39,7 +39,7 @@ class SemiFormal < ActionView::Helpers::FormBuilder "
" + label(field, options[:label] || {}) + text_area(field, options[:text_area] || {}) + - "
" + "
" end # form.belongs_to :user -- libgit2 0.21.2