Sha256: d710240029fcb3e2d95403bae177215840ac48ea9413268139a3511d8d7d62e5

Contents?: true

Size: 602 Bytes

Versions: 13

Compression:

Stored size: 602 Bytes

Contents

<%
  page_title = Typus::I18n.t("%{resource} %{id}", :resource => @resource.model_name.human, :id => @item.identifier)
  admin_title(page_title)
%>

<% content_for :main_grid do %>
  <% unless params[:_popup] %>
    <h1>
      <%= page_title %>
    </h1>
  <% end %>

  <%= admin_display_flash_message %>

  <%= render 'show' %>

  <table class="table table-hover">
    <% build_display(@item, fields).each do |attribute, type| %>
    <tr>
      <td><%= attribute %></td>
      <td><%= type %></td>      
    </tr>
    <% end %>
  </table>

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta12 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta11 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta10 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta9 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta8 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta7 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta6 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta5 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta4 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta3 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta2 app/views/admin/resources/show.html.erb
brainsome_typus-4.0.0.beta1 app/views/admin/resources/show.html.erb