Skip to content

Commit b23cb30

Browse files
committed
fixed label name inside forms
1 parent 9c5c7e1 commit b23cb30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails_generators/themed/templates/view_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<% columns.each do |column| %>
22
<div class="group">
3-
<%%= f.label :<%= column.name.humanize %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label %>
3+
<%%= f.label :<%= column.name %>, t("activerecord.attributes.<%= model_name.underscore %>.<%= column.name %>", :default => "<%= column.name.humanize %>"), :class => :label %>
44
<%%= f.<%= column.field_type %> :<%= column.name %>, :class => '<%= column.field_type %>' %>
55
<span class="description">Ex: a simple text</span>
66
</div>

0 commit comments

Comments
 (0)