Sha256: c33b26ca2ed67f0297b6500576f109c0785bb1970004587f6758a33336b8c95a
Contents?: true
Size: 532 Bytes
Versions: 1
Compression:
Stored size: 532 Bytes
Contents
- definition_list_for @<%= singular_name %> do |dl| <%- for attribute in attributes -%> - dl.show_h :<%= attribute.name %> <%- end -%> %ol.actions <%- if action? :edit -%> %li.edit= link_to t(:edit), edit_<%= singular_name %>_path(@<%= singular_name %>) <%- end -%> <%- if action? :destroy -%> %li.destroy= link_to t(:destroy), @<%= singular_name %>, :confirm => h(t(:confirm)), :method => :delete <%- end -%> <%- if action? :index -%> %li.index= link_to t(:index), <%= plural_name %>_path <%- end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iain-pizza-generators-0.1.3 | rails_generators/pizza_scaffold/templates/views/haml/show.html.haml |