<%%=t '<%= plural_name %>.fields.<%= attribute.name %>' %> | <%- end -%> <%- if is_action_included? :show -%><%- end -%> <%- if is_action_included? :edit -%> | <%- end -%> <%- if is_action_included? :destroy -%> | <%- end -%> |
---|---|---|---|
<%%=h <%= singular_name %>.<%= attribute.name %> %> | <%- end -%> <%- if is_action_included? :show -%><%%= link_to t('<%= plural_name %>.show.short_title'), <%= singular_name %> %> | <%- end -%> <%- if is_action_included? :edit -%><%%= link_to t('<%= plural_name %>.edit.short_title'), edit_<%= singular_name %>_path(<%= singular_name %>) %> | <%- end -%> <%- if is_action_included? :destroy -%><%%= link_to t('<%= plural_name %>.destroy.short_title'), <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete %> | <%- end -%>
<%%= link_to t('<%= plural_name %>.new.title'), new_<%= singular_name %>_path %>
<%- end -%>