bootstrap_form_for(<%= singular_table_name %>) do |f|¶ ↑
<% attributes.each do |attribute| -%> <% if attribute.password_digest? -%>
= f.password_field :password = f.password_field :password_confirmation
<% else -%>
= f.<%= attribute.field_type %> :<%= attribute.column_name %>
<% end -%> <% end -%>
= f.submit