Sha256: 21c17baef01ebfd215d7d0d8f69c1253620226492298d1dc5bed087d55f3371f
Contents?: true
Size: 830 Bytes
Versions: 1
Compression:
Stored size: 830 Bytes
Contents
<%= page_id('transit_index') %> <%= page_title("Transit: Manage #{t("transit.collection_names.#{resource_collection_name}")}") %> <h1>Manage <%= t("transit.collection_names.#{resource_collection_name}") %></h1> <%= paginate(collection, :remote => true) %> <table border="0" id="listing"> <thead> <tr> <% resource_class.admin_options.column_hash.each do |name, value| %> <% if value.is_a?(Array) %> <th><%= value.first %></th> <% else %> <th><%= value %></th> <% end %> <% end %> <th>Edit</th> <th>Delete</th> </tr> </thead> <tbody> <%= render template: 'transit/table' %> </tbody> </table> <%= paginate(collection, :remote => true) %> <div class='buttons'> <%= button_link "Add a New #{t(resource_class.to_s.underscore, :scope => :transit)}" , new_polymorphic_path(resource_class.new) %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transit-0.0.2 | app/views/transit/index.html.erb |