%= page_id('transit_index') %>
<%= page_title("Transit: Manage #{t("transit.collection_names.#{resource_collection_name}")}") %>
Manage <%= t("transit.collection_names.#{resource_collection_name}") %>
<%= paginate(collection, :remote => true) %>
<% resource_class.admin_options.column_hash.each do |name, value| %>
<% if value.is_a?(Array) %>
<%= value.first %> |
<% else %>
<%= value %> |
<% end %>
<% end %>
Edit |
Delete |
<%= render template: 'transit/table' %>
<%= paginate(collection, :remote => true) %>
<%= button_link "Add a New #{t(resource_class.to_s.underscore, :scope => :transit)}" , new_polymorphic_path(resource_class.new) %>