Permalink
Browse files

Merge pull request #16328 from noinkling/template_password_confirmati…

…on_fix

Give password_confirmation div the "field" class in the scaffold generator "_form" partial

Conflicts:
	railties/CHANGELOG.md
  • Loading branch information...
1 parent e025cad commit cb5d8892bb3d5aae89030eba052e9af0182843e7 @senny senny committed Jul 29, 2014
Showing with 6 additions and 1 deletion.
  1. +5 −0 railties/CHANGELOG.md
  2. +1 −1 railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb
View
@@ -1,3 +1,8 @@
+* Scaffold generator `_form` partial adds `class="field"` for password
+ confirmation fields.
+
+ *noinkling*
+
## Rails 4.0.8 (July 2, 2014) ##
*No changes*
@@ -17,7 +17,7 @@
<%%= f.label :password %><br>
<%%= f.password_field :password %>
</div>
- <div>
+ <div class="field">
<%%= f.label :password_confirmation %><br>
<%%= f.password_field :password_confirmation %>
<% else -%>

0 comments on commit cb5d889

Please sign in to comment.