Sha256: b550a6e67064501ebdc2815027a9588e0eb0083b458e5a1ebbcaa1e1603bdf1c
Contents?: true
Size: 598 Bytes
Versions: 11
Compression:
Stored size: 598 Bytes
Contents
- model_class = <%= model_class %> h1= model_class.model_name.human dl <%- columns.each do |column| -%> dt.bold= model_class.human_attribute_name(:<%= column.name %>) + ':' dd= @<%= resource_name %>.<%= column.name %> <%- end -%> div = link_to 'Back', <%= controller_routing_path %>_path, :class => 'btn' = link_to 'Edit', edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => 'btn' = link_to 'Destroy', <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :data => { :confirm => 'Are you sure?' }, :class => 'btn'
Version data entries
11 entries across 11 versions & 1 rubygems