Skip to content

Commit

Permalink
Merge pull request #16328 from noinkling/template_password_confirmati…
Browse files Browse the repository at this point in the history
…on_fix

Give password_confirmation div the "field" class in the scaffold generator "_form" partial
  • Loading branch information
senny committed Jul 29, 2014
2 parents 540bc3d + ed29c0a commit 94abb92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions railties/CHANGELOG.md
@@ -1,3 +1,8 @@
* Scaffold generator `_form` partial adds `class="field"` for password
confirmation fields.

*noinkling*

* Add `Rails::Application.config_for` to load a configuration for the current * Add `Rails::Application.config_for` to load a configuration for the current
environment. environment.


Expand Down
Expand Up @@ -17,7 +17,7 @@
<%%= f.label :password %><br> <%%= f.label :password %><br>
<%%= f.password_field :password %> <%%= f.password_field :password %>
</div> </div>
<div> <div class="field">
<%%= f.label :password_confirmation %><br> <%%= f.label :password_confirmation %><br>
<%%= f.password_field :password_confirmation %> <%%= f.password_field :password_confirmation %>
<% else -%> <% else -%>
Expand Down

0 comments on commit 94abb92

Please sign in to comment.