lib/happy-helpers/helpers/forms.rb in happy-helpers-0.1.0.pre.3 vs lib/happy-helpers/helpers/forms.rb in happy-helpers-0.1.0.pre.4

- old
+ new

@@ -133,10 +133,10 @@ s << helpers.html_tag(:textarea, field_options) { helpers.preserve(helpers.escape_html(value)) } when :datetime s << helpers.html_tag(:label, :class => 'for-field') { options[:label] } s << helpers.date_time_select_tag(field_options.delete(:name), value, options) when :radio - s << helpers.radio_buttons(field_options.delete(:name), options: (options.delete(:options) || ['Y', 'N'])) + s << helpers.radio_buttons(field_options.delete(:name), :options => (options.delete(:options) || ['Y', 'N'])) when :checkbox s << helpers.checkbox_tag(field_options.delete(:name), value, options.merge(:text => options[:text] || label_text(name))) else s << helpers.html_tag(:label, :class => 'for-field') { options[:label] } s << helpers.html_tag(:input, field_options.merge(:type => 'text', :value => value))