Sha256: 2da224b51f6a190bbcc7ba50f1a23ad852ba9fa41dc0e6d63be83612b908d3ef

Contents?: true

Size: 603 Bytes

Versions: 12

Compression:

Stored size: 603 Bytes

Contents

<%
  page_title = Typus::I18n.t("Show %{resource}", :resource => @resource.model_name.human)
  title(page_title)
%>

<% content_for :main_grid do %>
  <h2>
    <%= page_title %>
    <small><%= list_actions %></small>
  </h2>

  <%= display_flash_message %>
  <%= render 'show' %>

  <dl>
    <% build_display(@item, fields).each do |attribute, type| %>
      <dt><%= attribute %></dt>
      <dd><%= type %></dd>
    <% end %>
  </dl>

  <%= typus_relationships unless headless_mode? %>
<% end %>

<div class="grid_2">
  <%= build_sidebar %>
</div>

<div class="grid_8">
  <%= yield :main_grid %>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
typus-3.1.10 app/views/admin/resources/show.html.erb
typus-3.1.9 app/views/admin/resources/show.html.erb
typus-3.1.8 app/views/admin/resources/show.html.erb
typus-3.1.7 app/views/admin/resources/show.html.erb
typus-3.1.6 app/views/admin/resources/show.html.erb
typus-3.1.5 app/views/admin/resources/show.html.erb
typus-3.1.4 app/views/admin/resources/show.html.erb
typus-3.1.3 app/views/admin/resources/show.html.erb
typus-3.1.2 app/views/admin/resources/show.html.erb
typus-3.1.1 app/views/admin/resources/show.html.erb
typus-3.1.0 app/views/admin/resources/show.html.erb
typus-3.1.0.rc19 app/views/admin/resources/show.html.erb