Sha256: 04c24795fbe6cc1c686024de37c9beaf9adde4dd8f0c76482a1442da8a4722df
Contents?: true
Size: 758 Bytes
Versions: 12
Compression:
Stored size: 758 Bytes
Contents
<div class="contextual"> <%%= link_to t('helpers.links.edit'), edit_admin_<%= singular_name %>_path(@<%= singular_name %>), :class => 'icon icon-edit' %> <%%= link_to t('helpers.links.destroy'), [:admin, @<%= singular_name %>], :confirm => t('helpers.links.confirm'), :method => :delete, :class => 'icon icon-del' %> </div> <h2><%= singular_name.humanize %> <%%= @<%= singular_name %>.id %></h2> <div class="box"> <% for attribute in attributes -%> <p> <b><%= attribute.human_name %>:</b> <%%=h @<%= singular_name %>.<%= attribute.name %> %> </p> <% end -%> </div> <%%= link_to t('helpers.links.edit'), edit_admin_<%= singular_name %>_path(@<%= singular_name %>) %> | <%%= link_to t('helpers.links.back'), admin_<%= plural_name %>_path %>
Version data entries
12 entries across 12 versions & 1 rubygems