Sha256: 73bb016d5b3f03b0997df0781d22ad068da6f0bd1d85b37afbbaba9807970908

Contents?: true

Size: 581 Bytes

Versions: 4

Compression:

Stored size: 581 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 %>
<% end %>

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typus-3.1.0.rc18 app/views/admin/resources/show.html.erb
typus-3.1.0.rc17 app/views/admin/resources/show.html.erb
typus-3.1.0.rc16 app/views/admin/resources/show.html.erb
typus-3.1.0.rc15 app/views/admin/resources/show.html.erb