Fix layout for booths and tracks
This commit is contained in:
parent
27fa79a826
commit
b7901e54d6
2 changed files with 5 additions and 4 deletions
|
|
@ -4,9 +4,6 @@
|
||||||
%h1
|
%h1
|
||||||
Booths
|
Booths
|
||||||
= "(#{@booths.length})" if @booths.any?
|
= "(#{@booths.length})" if @booths.any?
|
||||||
.pull-right
|
|
||||||
- if can? :create, Booth
|
|
||||||
= link_to 'Add Booth', new_admin_conference_booth_path(@conference.short_title), class: 'button btn btn-primary'
|
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
All the booth requests
|
All the booth requests
|
||||||
|
|
||||||
|
|
@ -74,3 +71,7 @@
|
||||||
%td
|
%td
|
||||||
= link_to 'Edit', edit_admin_conference_booth_path(@conference.short_title, booth.id),
|
= link_to 'Edit', edit_admin_conference_booth_path(@conference.short_title, booth.id),
|
||||||
class: 'btn btn-primary'
|
class: 'btn btn-primary'
|
||||||
|
.row
|
||||||
|
.col-md-12.text-right
|
||||||
|
- if can? :create, Booth
|
||||||
|
= link_to 'New Booth', new_admin_conference_booth_path(@conference.short_title), class: 'button btn btn-primary'
|
||||||
|
|
|
||||||
|
|
@ -78,4 +78,4 @@
|
||||||
style: ('border-top-left-radius: 0; border-bottom-left-radius: 0;' if special_style), params: { 'schedule[track_id]' => track.id }
|
style: ('border-top-left-radius: 0; border-bottom-left-radius: 0;' if special_style), params: { 'schedule[track_id]' => track.id }
|
||||||
.row
|
.row
|
||||||
.col-md-12.text-right
|
.col-md-12.text-right
|
||||||
= link_to 'New Track', new_admin_conference_program_track_path(@conference.short_title), class: 'btn btn-success'
|
= link_to 'New Track', new_admin_conference_program_track_path(@conference.short_title), class: 'btn btn-primary'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue