app/views/manage/schools/index.html.haml in hackathon_manager-0.6.6 vs app/views/manage/schools/index.html.haml in hackathon_manager-0.7.0
- old
+ new
@@ -1,18 +1,14 @@
-%section.section.manage
- %h1.section-title= title "Listing Schools"
+= render "layouts/manage/page_title", title: "Schools" do
+ = link_to "New School", new_manage_school_path, class: "btn btn-sm btn-outline-secondary"
- %table.schools.datatable.row-border.stripe.hover.order-column{ "data-source" => datatable_manage_schools_path(format: :json) }
+%div
+ %table.schools.datatable.table.table-striped.table-hover{ "data-source" => datatable_manage_schools_path(format: :json) }
%thead
%tr
- %th
%th ID
%th Name
%th City
%th State
%th Count
%th Bus List
%tbody
-
- - unless current_user.admin_limited_access
- %br
- = btn_link_to 'New School', new_manage_school_path