<%%= link_to ''.html_safe + t(:new, :default => "New") + ' <%= model %>', new_<%= namespace_for_route %><%= singular_table_name %>_path, :class => "btn" %>
<%%= render :partial => "layouts/mass_inserting", :locals => { :namespace => 'admin', :model_name => '<%= model %>', :model_columns => [<%= attributes.map{ |e| "'#{e.name}'" }.join(',') %>] } %> <%%# Set your scopes below (string in array) %> <%% scopes = [] %> <%% if not scopes.blank? then %> <%% end %>" > | <%%= check_box_tag :checkall, '' %> | <%= render_partial 'app/views/partials/_index_header.html.erb' %>", "created_at") %> class="col-created_at"> <%%= sorting_header("<%= singular_table_name %>", "created_at", "<%= namespace_alone %>") %> | ", "updated_at") %> class="col-updated_at"> <%%= sorting_header("<%= singular_table_name %>", "updated_at", "<%= namespace_alone %>") %> | |||
---|---|---|---|---|---|---|
<%%= <%= singular_table_name %>.id %> | <%%= check_box_tag "ids[]",<%= singular_table_name %>.id, false, :class => 'cbbatch' %> | <%= render_partial 'app/views/partials/_index_column.html.erb' %>", "created_at") %> class="col-created_at <%%= align_attribute("datetime") %>"> <%%= l(<%= singular_table_name %>.created_at, :format => :long) %> | ", "updated_at") %> class="col-updated_at <%%= align_attribute("datetime") %>"> <%%= l(<%= singular_table_name %>.updated_at, :format => :long) %> | <%%= link_to ''.html_safe, <%= namespace_for_route %><%= singular_table_name %>_path(<%= singular_table_name %>) %> | <%%= link_to ''.html_safe, edit_<%= namespace_for_route %><%= singular_table_name %>_path(<%= singular_table_name %>) %> | <%%= link_to ''.html_safe, <%= namespace_for_route %><%= singular_table_name %>_path(<%= singular_table_name %>), :confirm => t(:are_you_sure, :default => "Are you sure?"), :method => :delete %> |