lib/generators/bootstrap/themed/templates/_form.html.erb in twitter-bootstrap-rails-1.4.3 vs lib/generators/bootstrap/themed/templates/_form.html.erb in twitter-bootstrap-rails-2.0rc0

- old
+ new

@@ -1,7 +1,11 @@ <% columns.each do |column| %> - <%%= f.label :<%= column.name %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label %> +<div class="clearfix"> + <%%= f.label :<%= column.name %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label %> + <div class="input"> <%%= f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>' %> + </div> +</div> <%- end -%> <div class="actions"> <button class="btn primary" type="submit">Save</button> or <%%= link_to "Cancel", <%= controller_routing_path %>_path %> </div>