Sha256: 6696e2bf4991d9cb1ba54754e367b448591049ea478530ca13933b9eb2382816

Contents?: true

Size: 935 Bytes

Versions: 1

Compression:

Stored size: 935 Bytes

Contents

<table class="list">
  <thead>
      <th><%%= t 'system.index_id' %></th>
    <%- @model_attributes.each do |attr| %>
      <th><%%= t '<%= plural_name %>.index_<%= attr.name %>' %></th>
    <%- end %>
      <th><%%= t 'system.index_remove' %></th>
  </thead>
<%% @<%= plural_name %>.each do |<%= singular_name %>| %>
  <tr class="<%%= cycle 'odd_line', 'even_line' %>" >
  	<td><%%= link_to <%= singular_name %>.id, edit_<%= namespace_object %>_path(<%= singular_name %>) <%= ", :class => 'lightbox various fancybox.ajax'" if options.ajax %> %></td>
    <%- @model_attributes.each do |attr| %>
    <td><%%= <%= singular_name %>.<%= attr.name %> %></td>
    <%- end %>
    <td><%%= link_to t('system.index_remove_label'), <%= singular_name %>, :method => :delete, <%= ':remote => true,' if options.ajax %> :confirm => t('system.index_confirm_deletion') %></td>
  </tr>
<%% end %>
</table>

<%%= pagination_footer @<%= plural_name %> %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mdd-1.1.0 lib/generators/mdd/scaffold/templates/views/_list.html.erb