Skip to content

Commit

Permalink
HTML5 breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Apr 18, 2013
1 parent da5405c commit f038d4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
<% attributes.each do |attribute| -%>
<div class="field">
<% if attribute.password_digest? -%>
<%%= f.label :password %><br />
<%%= f.label :password %><br>
<%%= f.password_field :password %>
</div>
<div>
<%%= f.label :password_confirmation %><br />
<%%= f.label :password_confirmation %><br>
<%%= f.password_field :password_confirmation %>
<% else -%>
<%%= f.label :<%= attribute.name %> %><br />
<%%= f.label :<%= attribute.name %> %><br>
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
<% end -%>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
</tbody>
</table>

<br />
<br>

<%%= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path %>

0 comments on commit f038d4c

Please sign in to comment.