lib/generators/templates/views/_form.html.erb in transcribable-0.0.3 vs lib/generators/templates/views/_form.html.erb in transcribable-0.0.4

- old
+ new

@@ -11,10 +11,10 @@ </div> <%% end %> <% transcribable_attrs.each do |col, type| %> <div class="do_something"> - <% if [:string, :integer].include?(type) %> + <% if [:string, :integer, :float, :decimal].include?(type) %> <h2><%= col.titleize %></h2> <%%= label_tag :<%= col %>, "Your attribute description here" %><br /> <%%= f.text_field :<%= col %>, {:class => "wwwinput", :tabindex => 3} %> <% end %> <% if [:text].include?(type) %>