search for: button_html

Displaying 1 result from an estimated 1 matches for "button_html".

2012 Sep 22
1
formtastic does not save at all
...gt; :date_select, :hint => ''Select a date'', :start_year => Time.now.year, :label => "Departure date" %> <%= f.input :weight %> <%= f.input :check_in %> <% end %> <%= f.actions do %> <%= f.action :submit, :button_html => { :class => "btn btn-large btn-primary" } %> <% end %> <% end %> The partials and jQuery ajax functions work properly. But the problem is the clicking the submit button does not do anything at all!!!! If there is an error in saving the data, it should show so...