HTML5 breaks

上级 da5405c4
......@@ -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>
......
......@@ -26,6 +26,6 @@
</tbody>
</table>
<br />
<br>
<%%= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path %>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册