mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1 Rooms
|
|
%p.text-muted
|
|
The rooms of your conference venue
|
|
|
|
- if @rooms.any?
|
|
.row
|
|
.col-md-12
|
|
%table.table.table-hover#rooms
|
|
%thead
|
|
%tr
|
|
%th Name
|
|
%th Capacity
|
|
%th Actions
|
|
%tbody
|
|
- @rooms.each_with_index do |room, index|
|
|
%tr
|
|
%td
|
|
= room.name
|
|
%td
|
|
= room.size
|
|
%td
|
|
= link_to 'Edit', edit_admin_conference_venue_room_path(@conference.short_title, room.id),
|
|
method: :get, class: 'btn btn-primary'
|
|
= link_to 'Delete', admin_conference_venue_room_path(@conference.short_title, room.id),
|
|
method: :delete, class: 'btn btn-danger',
|
|
data: { confirm: "Do you really want to delete #{room.name}? Attention: This room will be removed from all Events that have it set"}
|
|
.row
|
|
.col-md-12.text-right
|
|
= link_to 'Add Room', new_admin_conference_venue_room_path(@conference.short_title), class: 'btn btn-primary'
|