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

Version Path
admin_interface-2.2.5 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.2.4 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.2.3 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.2.2 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.2.1 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.2.0 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.1.15 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.1.14 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.1.13 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.1.12 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.1.11 lib/generators/admin_interface/templates/scaffold/view_show.html.erb
admin_interface-2.1.10 lib/generators/admin_interface/templates/scaffold/view_show.html.erb