Sha256: 46762d9060a7daa62fd831402cbf7e4cb8a5cb95cd6871aab21ca467a8664cb6

Contents?: true

Size: 971 Bytes

Versions: 2

Compression:

Stored size: 971 Bytes

Contents

<div class="contextual"></div>

<h2><%%= <%= class_name %>.model_name.human %></h2>

<!-- Somatics Filters-->
<%%= somatics_filter_for :<%= singular_name %>%>

<%%# form_tag bulk_admin_<%= plural_name %>_path, :id => :form do -%>
<div class="autoscroll">
  <%%= render :partial => 'list', :locals => {:<%= plural_name %> => @<%= plural_name %>} %>
</div>
<%%= will_paginate @<%= plural_name%>, :renderer => SomaticLinkRenderer %>

<%%#= render :partial => 'bulk' %>
<%%# end %>

<!-- TODO Export-->
<p class="other-formats"><%%= t('Also_available_in') %>:
	<span><%%= link_to 'CSV',  admin_<%= plural_name %>_path(:format => :csv),  :class => 'csv' %></span>
	<span><%%= link_to 'XLS',  admin_<%= plural_name %>_path(:format => :xls),  :class => 'xls' %></span>
</p>
<div style="clear:both;"></div>
    
<%% content_for :sidebar do %>
  <h3>Actions</h3>
  <%%= link_to "#{t('New')} #{<%= class_name %>.model_name.human}", new_admin_<%= singular_name %>_path %>
<%% end %>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
somatics3-0.0.10 lib/generators/somatics/scaffold_controller/templates/view_index.html.erb
somatics3-generators-0.0.10 lib/generators/somatics/scaffold_controller/templates/view_index.html.erb