Sha256: 67fcaf41a8dddbb6335f0a67a18ee5bc1139519ce7c42580799d3c7f5b2c71c8
Contents?: true
Size: 886 Bytes
Versions: 1
Compression:
Stored size: 886 Bytes
Contents
- title <%= class_name %>.human_name(:count => 2) %table %tr <%- for attribute in attributes -%> %th <%= attribute.column.human_name %> <%- end -%> - for <%= singular_name %> in @<%= plural_name %> %tr <%- for attribute in attributes -%> %td= h <%= singular_name %>.<%= attribute.name %> <%- end -%> <%- if action? :show -%> %td= link_to t('show_link'), <%= singular_name %> <%- end -%> <%- if action? :edit -%> %td= link_to t('edit_link'), edit_<%= singular_name %>_path(<%= singular_name %>) <%- end -%> <%- if action? :destroy -%> %td= link_to t('destroy_link'), <%= singular_name %>, :confirm => t('destroy_confirmation'), :method => :delete <%- end -%> <%- if actions? :new -%> %p= link_to t("new_link", :model => <%= class_name %>.human_name), new_<%= singular_name %>_path <%- end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
splendeo-generators-0.2.0 | rails_generators/splendeo_scaffold/templates/views/haml/index.html.haml |