Sha256: f322a1b65b7f860bc68c94c6d96dba2796e3d9ce5b28bb3f963338e6ad6fac9b

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

%h1.heading
  = "<%= model_singular_name.humanize %> %s" % <%= resource_instance %>.id
  
- content_tag_for(:dl, <%= resource_instance %>) do
<% attributes.each do |attribute| -%>
  %dt.label= '<%= attribute.name.humanize %>'
  %dd.<%= attribute.name -%>= h <%= resource_instance %>.try(:<%= attribute.name %>)
<% end -%>
  
%p.actions
  = link_to 'Edit', <%= edit_path %>
  |
  = link_to 'Index', <%= index_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry_scaffold-0.3.8 generators/dry_scaffold/templates/views/haml/show.html.haml