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
|
%br
|
||||||
%small
|
%small
|
||||||
= @event.subtitle
|
= @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
|
.row
|
||||||
.col-md-3
|
.col-md-3
|
||||||
%p
|
%p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue