47 lines
1.3 KiB
Text
47 lines
1.3 KiB
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
Booths
|
|
= "(#{@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-default btn-info'
|
|
%p.text-muted
|
|
All the booth requests
|
|
.row
|
|
.col-md-12
|
|
.margin-event-table
|
|
%table.table.table-striped.table-bordered.table-hover.datatable
|
|
%thead
|
|
%th
|
|
%b ID
|
|
%th
|
|
%b Title
|
|
%th
|
|
%b Submitter
|
|
%th
|
|
%b Responsible
|
|
%th
|
|
%b Secondary Responsible
|
|
%th
|
|
%b State
|
|
- @booths.each do |booth|
|
|
%tr
|
|
%td
|
|
= booth.id
|
|
%td
|
|
= link_to booth.title, admin_conference_booth_path(@conference.short_title, booth)
|
|
%td
|
|
a
|
|
%td
|
|
b
|
|
%td
|
|
c
|
|
%td
|
|
.btn-group
|
|
%button{ type: 'button', class: 'btn btn-link dropdown-toggle', 'data-toggle' => 'dropdown' }
|
|
= booth.state.humanize
|
|
%span.caret
|
|
%ul.dropdown-menu{ role: 'menu' }
|
|
= render 'change_state_dropdown', booth: booth
|