Sha256: 541149de72acf46e9fbae4e4e5c3db79f445aec65224275ec42f242398feb7fe
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
.content-heading .btn-toolbar.pull-right = link_to 'New <%= singular_table_name.titleize %>', new_<%= singular_table_name %>_path, class: 'btn btn-sm btn-success', title: "Create new <%= singular_table_name %>" | <%= plural_table_name.titleize %> ol.breadcrumb li = link_to '<%= plural_table_name.titleize %>', <%= index_helper %>_path .row .col-lg-12 .panel.panel-default .panel-heading .table-responsive table.table.table-hover.table-generic thead tr <% attributes.reject(&:password_digest?).each do |attribute| -%> th <%= attribute.human_name %> <% end -%> th th th tbody - @<%= plural_table_name %>.each do |<%= singular_table_name %>| tr <% attributes.reject(&:password_digest?).each do |attribute| -%> td = <%= singular_table_name %>.<%= attribute.name %> <% end -%> td = link_to 'Show', <%= singular_table_name %> td = link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) td = link_to 'Destroy', <%= singular_table_name %>, method: :delete, data: { confirm: 'Are you sure?' }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radius-rails-3.1.4 | lib/templates/slim/scaffold/index.html.slim.tt |