Sha256: 6c8df1bb1e7c2594e32e784f64ce2bf0ea31037cc1d527a69bcc37786b073465
Contents?: true
Size: 776 Bytes
Versions: 6
Compression:
Stored size: 776 Bytes
Contents
%table %tr <%- model_attributes.each do |attribute| -%> %th <%= attribute.human_name %> <%- end -%> - @<%= instances_name %>.each do |<%= instance_name %>| %tr <%- model_attributes.each do |attribute| -%> %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 <%= titleized_name %>", <%= item_path(:action => :new) %>) <%- end -%>
Version data entries
6 entries across 6 versions & 1 rubygems