Add 'edit button' in proposal show

This commit is contained in:
Stella 2014-05-02 21:33:43 +03:00
parent 4e395a0d7a
commit fdd5b6cb95

View file

@ -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