Move save button

One save button on the top rigth and another one on the bottom of the page.
This commit is contained in:
Ana 2016-08-12 21:35:21 +02:00 committed by Ana María Martínez Gómez
parent 6f0cdc64c3
commit 10561129f9

View file

@ -4,8 +4,14 @@
.col-md-12 .col-md-12
.page-header .page-header
%h1 Schedule %h1 Schedule
%p.text-muted .row
Create the schedules for the conference .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? - if @rooms.present?
.row .row
@ -17,8 +23,6 @@
off_color: 'warning', off_color: 'warning',
on_text: 'Yes', on_text: 'Yes',
off_text: 'No' } off_text: 'No' }
%button.btn.btn-success.schedule-save
Save
.h4 .h4
Unscheduled events Unscheduled events
.unscheduled-events .unscheduled-events
@ -34,6 +38,10 @@
- @dates.each do |date| - @dates.each do |date|
.tab-pane{ class: "#{ (@dates.first == date) ? 'active' : '' }", id: "#{date}" } .tab-pane{ class: "#{ (@dates.first == date) ? 'active' : '' }", id: "#{date}" }
= render partial: 'day_tab', locals: { date: date } = render partial: 'day_tab', locals: { date: date }
.row
.col-md-12.text-right
%button.btn.btn-success.schedule-save
Save
- else - else
.h3 .h3
No Rooms! No Rooms!