Sha256: df4ced37646724da09a368c2d2575c7f563b2331ad34f6a682eaec3a2f0f058f
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
- title <%= class_name %>.human_name <%- for attribute in attributes -%> %p %strong = <%= class_name %>.human_attribute_name('<%= attribute.name %>')+':' =h @<%= singular_name %>.<%= attribute.name %> <%- end -%> %p <%- if action? :edit -%> = link_to t('edit_link'), edit_<%= singular_name %>_path(@<%= singular_name %>) | <%- end -%> <%- if action? :destroy -%> = link_to t('destroy_link'), @<%= singular_name %>, :confirm => t('destroy_confirmation'), :method => :delete | <%- end -%> <%- if action? :index -%> = link_to t('view_all_link'), <%= plural_name %>_path <%- end -%>
Version data entries
2 entries across 2 versions & 1 rubygems