summaryrefslogtreecommitdiff
path: root/lib/generators/nifty/scaffold/templates/views/haml/show.html.haml
blob: bd73c52043514d33c5f5b739514ed87ac9d4558c (plain)
1
2
3
4
5
6
7
8
9
- content_for :title, t("<%= plural_name %>.show.page_title")

<%- for attribute in model_attributes -%>
%p
  %strong= t('<%= plural_name %>.show.<%= attribute.name %>') + ":"
  = @<%= instance_name %>.<%= attribute.name %>
<%- end -%>

= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @<%= instance_name %> }