[feat] Add a button in admin event view that links to user event view

This commit is contained in:
Jimmy 2021-02-24 12:17:05 -08:00
parent a45008640f
commit a0532b5d9f

View file

@ -7,6 +7,8 @@
%small
= @event.subtitle
.btn-group.pull-right
- if @event.public
= link_to 'Preview', conference_program_proposal_path(@conference.short_title, @event.id), class: 'btn btn-mini btn-primary'
= link_to 'Registrations', registrations_admin_conference_program_event_path(@conference.short_title, @event), class: 'btn btn-success'
= link_to 'Edit', edit_admin_conference_program_event_path(@conference.short_title, @event), class: 'btn btn-mini btn-primary'