Sha256: d4905880c37d3c96d0a9821f8ee6c0f4aeb16b082b1258ae75cde61e1cc6f8b0
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 Bytes
Contents
- title "<%= singular_name.titleize %> Details" .well <%- model_attributes.each do |attribute| -%> %p %strong <%= attribute.human_name.titleize %>: = @<%= instance_name %>.<%= attribute.name %> <% end -%> %p <%- if action? :edit -%> = link_to "Edit", <%= item_path :action => :edit, :instance_variable => true %>, :class => 'btn' <%- end -%> <%- if action? :destroy -%> = link_to "Destroy", <%= item_path :instance_variable => true %>, :confirm => 'Are you sure?', :method => :delete, :class => 'btn btn-danger' <%- end -%> <%- if action? :index -%> = link_to "View All", <%= items_path %>, :class => 'btn' <%- end -%>
Version data entries
3 entries across 3 versions & 1 rubygems