Sha256: 2fd74b21f00c53aabeca929b7954196624d11284cfc27fcc43d330cea245adfd

Contents?: true

Size: 756 Bytes

Versions: 7

Compression:

Stored size: 756 Bytes

Contents

<% content_for :sidebar do %>
  <%= typus_block :resource => @resource[:self], :partial => :show_sidebar %>
  <%= actions %>
<% end %>

<%= typus_block :resource => @resource[:self], :partial => :show %>

<h2><%= link_to _('Dashboard'), admin_dashboard_path %> &rsaquo; 
    <%= link_to _(@resource[:class].human_name.pluralize), :action => 'index' %> &rsaquo; 
    <%= _('Show') %></h2>

<%= typus_block :resource => @resource[:self], :partial => :show_top %>

<dl>
<%- @fields.map { |u| u.first }.each do |column| -%>
  <dt><%=h @resource[:class].human_attribute_name(column) %></dt>
  <dd><%=h (!@item.send(column).blank?) ? @item.send(column) : 'nil' %></dd>
<%- end -%>
</dl>

<%= typus_block :resource => @resource[:self], :partial => :show_bottom %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fesplugas-typus-0.9.0 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.1 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.2 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.3 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.4 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.5 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.6 app/views/admin/resources/show.html.erb