We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42924bd + 008f523 commit bf77bbaCopy full SHA for bf77bba
lib/generators/haml/scaffold/templates/_form.html.haml
@@ -3,8 +3,8 @@
3
#error_explanation
4
%h2= "#{pluralize(@<%= singular_table_name %>.errors.count, "error")} prohibited this <%= singular_table_name %> from being saved:"
5
%ul
6
- - @<%= singular_table_name %>.errors.full_messages.each do |msg|
7
- %li= msg
+ - @<%= singular_table_name %>.errors.full_messages.each do |message|
+ %li= message
8
9
<% for attribute in attributes -%>
10
.field
0 commit comments