From 10561129f99482d2d5dfe890f7343364c376db49 Mon Sep 17 00:00:00 2001 From: Ana Date: Fri, 12 Aug 2016 21:35:21 +0200 Subject: [PATCH] Move save button One save button on the top rigth and another one on the bottom of the page. --- app/views/admin/schedules/show.html.haml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/app/views/admin/schedules/show.html.haml b/app/views/admin/schedules/show.html.haml index d6c44f34..c53755b0 100644 --- a/app/views/admin/schedules/show.html.haml +++ b/app/views/admin/schedules/show.html.haml @@ -4,8 +4,14 @@ .col-md-12 .page-header %h1 Schedule - %p.text-muted - Create the schedules for the conference + .row + .col-md-10.col-xs-8 + %p.text-muted + Create the schedules for the conference + .col-md-2.col-xs-4 + .text-right + %button.btn.btn-success.schedule-save + Save - if @rooms.present? .row @@ -17,8 +23,6 @@ off_color: 'warning', on_text: 'Yes', off_text: 'No' } - %button.btn.btn-success.schedule-save - Save .h4 Unscheduled events .unscheduled-events @@ -34,6 +38,10 @@ - @dates.each do |date| .tab-pane{ class: "#{ (@dates.first == date) ? 'active' : '' }", id: "#{date}" } = render partial: 'day_tab', locals: { date: date } + .row + .col-md-12.text-right + %button.btn.btn-success.schedule-save + Save - else .h3 No Rooms!