diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index e1a388fd..3121debf 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -12,7 +12,7 @@ %body .container .row - .col + .col-12 = render partial: 'layouts/header' - if notice.present? diff --git a/app/views/school_categories/_school_category.html.haml b/app/views/school_categories/_school_category.html.haml index 8793097f..8acdddc4 100644 --- a/app/views/school_categories/_school_category.html.haml +++ b/app/views/school_categories/_school_category.html.haml @@ -1,4 +1,4 @@ -.col-6.py-3 +.col-12.col-sm-6.py-3 .school_category.short.p-2 %h4.title.text-center.pt-3 = link_to(school_category.category.name, [school_category.school, school_category.category]) diff --git a/app/views/schools/admin.html.haml b/app/views/schools/admin.html.haml index e4ce1c1d..7d62eeee 100644 --- a/app/views/schools/admin.html.haml +++ b/app/views/schools/admin.html.haml @@ -46,8 +46,8 @@ %td= link_to schedule.name, [@school, schedule] %td= schedule.start_date %td= schedule.end_date - %td= link_to('Edit', edit_school_recipient_list_path(@school, schedule)) - %td= link_to('Delete', school_recipient_list_path(@school, schedule), method: :delete, data: {confirm: 'Are you sure you want to delete this schedule?'}) + %td= link_to('Edit', edit_school_schedule_path(@school, schedule)) + %td= link_to('Delete', school_schedule_path(@school, schedule), method: :delete, data: {confirm: 'Are you sure you want to delete this schedule?'}) %br %br