Sha256: a0bb922307f87c0865acab585d9dd8bd27610911ca831d060e81f2179dab4a18
Contents?: true
Size: 777 Bytes
Versions: 1
Compression:
Stored size: 777 Bytes
Contents
<div class="panel"> <table class="table table--vertical"> <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: "button button--primary" %> <%%= link_to t('buttons.back'), <%= prefixed_index_helper %>_path, class: "button button--info" %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
admin_help-0.1.4 | lib/generators/admin/scaffold_controller/templates/views/erb/show.html.erb.erb |