mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 14:11:10 +00:00
Beautify venues#show
This commit is contained in:
parent
f83e76102f
commit
33e1c6eae1
4 changed files with 46 additions and 40 deletions
|
|
@ -25,10 +25,11 @@
|
|||
= @venue.country_name
|
||||
.row
|
||||
.col-md-12
|
||||
= link_to(edit_admin_conference_venue_path(@conference.short_title), class: 'btn btn-primary', disabled: !(can? :update, @venue) ) do
|
||||
Edit Venue
|
||||
= link_to(admin_conference_venue_path(@conference.short_title), method: 'delete', class: 'btn btn-danger', disabled: !(can? :destroy, @venue)) do
|
||||
Delete Venue
|
||||
%p.text-right
|
||||
= link_to(edit_admin_conference_venue_path(@conference.short_title), class: 'btn btn-primary', disabled: !(can? :update, @venue) ) do
|
||||
Edit Venue
|
||||
= link_to(admin_conference_venue_path(@conference.short_title), method: 'delete', class: 'btn btn-danger', disabled: !(can? :destroy, @venue)) do
|
||||
Delete Venue
|
||||
-else
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue