mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add 'edit button' in proposal show
This commit is contained in:
parent
4e395a0d7a
commit
fdd5b6cb95
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@
|
|||
%br
|
||||
%small
|
||||
= @event.subtitle
|
||||
- if has_role?(current_user, "admin")
|
||||
= link_to "Edit", edit_admin_conference_event_path(@conference.short_title, @event), :class => "btn btn-mini btn-primary pull-right"
|
||||
.row
|
||||
.col-md-3
|
||||
%p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue