app/views/hungryform/_form.html.erb in hungryform-rails-0.0.5 vs app/views/hungryform/_form.html.erb in hungryform-rails-0.0.6

- old
+ new

@@ -10,38 +10,31 @@ # Previous page button if form.prev_page hungry_link_to_prev_page( form, "Prev", - { - class: HungryForm.configuration.rails.prev_button_class, - method: :post - } + class: HungryForm.configuration.rails.prev_button_class, + method: :post ) end -%> <%= # Next Page Button if form.next_page hungry_link_to_next_page( form, "Next", - { - class: HungryForm.configuration.rails.next_button_class, - method: :post - } + class: HungryForm.configuration.rails.next_button_class, + method: :post ) end -%> <%= # Submit button if form.current_page == form.pages.last hungry_link_to_submit( form, "Submit", - { - class: HungryForm.configuration.rails.submit_button_class, - method: :post - } + class: HungryForm.configuration.rails.submit_button_class ) end %> \ No newline at end of file