Sha256: f7cae3bca8fbaec95e2ec7b76efa7ba384fe36cc28bc87517a0c59de8539962b

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 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>

Version data entries

1 entries across 1 versions & 1 rubygems

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