Sha256: cc55bfff8fe721e28f0e743f54c01ce94786ed72931c76cecc2fd7468de374c0
Contents?: true
Size: 804 Bytes
Versions: 19
Compression:
Stored size: 804 Bytes
Contents
- title "<%= plural_name.titleize %>" %table %tr <%- for attribute in model_attributes -%> %th <%= attribute.human_name %> <%- end -%> - for <%= instance_name %> in @<%= instances_name %> %tr <%- for attribute in model_attributes -%> %td= <%= instance_name %>.<%= attribute.name %> <%- end -%> <%- if action? :show -%> %td= link_to 'Show', <%= item_path %> <%- end -%> <%- if action? :edit -%> %td= link_to 'Edit', <%= item_path :action => :edit %> <%- end -%> <%- if action? :destroy -%> %td= link_to 'Destroy', <%= item_path %>, :confirm => 'Are you sure?', :method => :delete <%- end -%> <%- if actions? :new -%> %p= link_to "New <%= singular_name.titleize %>", <%= item_path :action => :new %> <%- end -%>
Version data entries
19 entries across 18 versions & 8 rubygems