Sha256: a5dee3f402d4b2b911fc5cf4ec91f552f6e5ddd974f135dc1d8f85fdf583985f
Contents?: true
Size: 486 Bytes
Versions: 6
Compression:
Stored size: 486 Bytes
Contents
- title "<%= singular_name.titleize %>" <%- for attribute in model_attributes -%> %p %strong <%= attribute.human_name.titleize %>: = @<%= singular_name %>.<%= attribute.name %> <%- end -%> %p.buttons <%- if action? :edit -%> = link_to "Edit <%= singular_name.titleize %>", edit_<%= singular_name %>_path(@<%= singular_name %>), :class => "button positive" <%- end -%> <%- if action? :index -%> = link_to "Back", <%= plural_name %>_path, :class => "button" <%- end -%>
Version data entries
6 entries across 6 versions & 1 rubygems