Sha256: fd4555d77f7af5af5aa44911aca4a4d6efbd599c859754a825edf76bfe1004d3

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

<table>
  <thead>
    <tr>
      <th style="width:30%">属性</th>
      <th>值</th>
    </tr>
  </thead>

  <tbody>
<% attributes.reject(&:password_digest?).each do |attribute| %>
    <tr>
      <th><%%= <%= singular_table_name.classify %>.human_attribute_name(:<%= attribute.name %>) %>:</th>
      <td><%%= @<%= singular_table_name %>.<%= attribute.name %> %></td>
    </tr>
<% end %>
  </tbody>
</table>
<div class="actions">
  <%%= link_to t('actions.edit'), edit_<%= prefixed_plain_model_url %>_path(@<%= singular_table_name %>), class: "ui button primary" %>
  <%%= link_to t('buttons.back'), <%= prefixed_index_helper %>_path, class: "ui button" %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin_help-0.1.5 lib/generators/admin/scaffold_controller/templates/views/erb/show.html.erb.erb