Sha256: 9d94311c5c52b4b2cbb18dee06291d996eba28d83413d66f39868386069238e7

Contents?: true

Size: 632 Bytes

Versions: 1

Compression:

Stored size: 632 Bytes

Contents

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

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

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

<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_relationships %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fesplugas-typus-0.9.8 app/views/admin/resources/show.html.erb