Sha256: 83b935702f1c42e618515a8c6854d81be004ec5966109a692b184308b2f605e5
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
<% css do %> <%= theme_css 'layouts/index', :media => 'screen' %> <% end %> <% page_title 'Manage Educational Institutions' %> <%= render :partial => 'search', :locals => { :form_url => admin_schools_path, :params => params } %> <%= render_widget :paginated_list, :display, { :collection => @schools, :entry_name => 'educational institution', :css_class => "", :id => "schools-found", :list_renderer => [ :datatable, { :columns => [ { :label => "Name", :content => lambda{|item| link_to item.name, admin_school_path(item) }, :sort => 'name', :width => "200px" }, { :label => "City", :content => :city, :sort => 'city', :width => "150px" }, { :label => "State", :content => :state, :sort => 'state', }, { :label => "Zipcode", :content => :zipcode, :sort => 'zipcode' }, { :label => "Approved", :content => lambda{ |item| item.approved ? 'Yes' : 'No' }, :sort => 'approved' }, :actions => [ :edit, :delete ] ], :actions_are_admin => true, :css_class => 'datatable', :sort_column => sort_column } ], :header => { :css_class => 'plain' }, :navigation => {} } %> <%= link_to 'New Educational Institution', new_admin_school_path %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scidea-schools-1.1 | app/views/admin/schools/index.html.erb |