Sha256: 77ba69ae20ac6b8d7a676d84c97a060197ded2c17e20e922372661e64965c9e0

Contents?: true

Size: 569 Bytes

Versions: 19

Compression:

Stored size: 569 Bytes

Contents

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

<h2><%= link_to @resource[:class].typus_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

19 entries across 19 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.10 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.11 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.12 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.13 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.14 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.15 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.16 app/views/admin/resources/show.html.erb
fesplugas-typus-0.9.17 app/views/admin/resources/show.html.erb
typus-0.9.27 app/views/admin/resources/show.html.erb
typus-0.9.26 app/views/admin/resources/show.html.erb
typus-0.9.25 app/views/admin/resources/show.html.erb
typus-0.9.24 app/views/admin/resources/show.html.erb
typus-0.9.23 app/views/admin/resources/show.html.erb
typus-0.9.22 app/views/admin/resources/show.html.erb
typus-0.9.21 app/views/admin/resources/show.html.erb
typus-0.9.20 app/views/admin/resources/show.html.erb
typus-0.9.19 app/views/admin/resources/show.html.erb
typus-0.9.18 app/views/admin/resources/show.html.erb
typus-0.9.17 app/views/admin/resources/show.html.erb