lib/generators/bootswatch/themed/templates/_form.html.slim in twitter-bootswatch-rails-3.1.1.0 vs lib/generators/bootswatch/themed/templates/_form.html.slim in twitter-bootswatch-rails-3.1.1.1
- old
+ new
@@ -1,10 +1,9 @@
= form_for @<%= resource_name %>, :html => { :class => 'form-horizontal' } do |f|
<%- columns.each do |column| -%>
- .control-group
+ .form-group
= f.label :<%= column.name %>, :class => 'control-label'
- .controls
- = f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>'
+ = f.<%= column.field_type %> :<%= column.name %>, :class => 'form-control'
<%- end -%>
.form-actions
= f.submit nil, :class => 'btn btn-primary'
|  
= link_to t('.cancel', :default => t("helpers.links.cancel")), <%= controller_routing_path %>_path, :class => 'btn'