属性 |
值 |
<% attributes.reject(&:password_digest?).each do |attribute| %>
<%%= <%= singular_table_name.classify %>.human_attribute_name(:<%= attribute.name %>) %>: |
<%%= @<%= singular_table_name %>.<%= attribute.name %> %> |
<% end %>
<%%= link_to t('actions.edit'), edit_<%= prefixed_plain_model_url %>_path(@<%= singular_table_name %>), class: "button button--primary" %>
<%%= link_to t('buttons.back'), <%= prefixed_index_helper %>_path, class: "button button--info" %>