Sha256: ca374783a17b0fa5db5a04bb954b0c08e781ab3a6e3eaddcfe2423519b9d6dfa
Contents?: true
Size: 601 Bytes
Versions: 2
Compression:
Stored size: 601 Bytes
Contents
<%% title "<%= singular_name.titleize %>" %> <%- for attribute in attributes -%> <p> <strong><%= attribute.human_name.titleize %>:</strong> <%%= @<%= instance_name %>.<%= attribute.name %> %> </p> <%- end -%> <p> <%- if action? :edit -%> <%%= link_to "Edit", <%= item_path :action => :edit, :instance_variable => true %> %> | <%- end -%> <%- if action? :destroy -%> <%%= link_to "Destroy", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete %> | <%- end -%> <%- if action? :index -%> <%%= link_to "View All", <%= items_path %> %> <%- end -%> </p>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adhoc-generators-0.0.4 | lib/generators/adhoc/portfolio/templates/views/show.html.erb |
adhoc-generators-0.0.3 | lib/generators/adhoc/portfolio/templates/views/show.html.erb |