Sha256: 28ba756406405fe2450b7758720a459f85cd86687eccea7d58d713eec0297fca
Contents?: true
Size: 544 Bytes
Versions: 1
Compression:
Stored size: 544 Bytes
Contents
%h2= title - 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.4 | rails_generators/pizza_scaffold/templates/views/haml/show.html.haml |