Clean up export links on admin/registrations #BetterPlace

This commit is contained in:
James Mason 2018-09-20 12:23:05 -07:00 committed by Henne Vogelsang
parent f3757fd4e7
commit eea05d649c

View file

@ -8,9 +8,9 @@
= "(#{@registrations.length})" if @registrations
.btn-group.pull-right
- if can? :read, Registration
= link_to 'Export CSV', admin_conference_registrations_path(@conference.short_title, format: :csv), class: 'btn btn-success'
= link_to 'Export PDF', admin_conference_registrations_path(@conference.short_title, format: :pdf), class: 'btn btn-success'
= link_to 'Export XLS', {format: :xlsx}, class: 'btn btn-success'
= link_to 'Export CSV', { format: :csv }, class: 'btn btn-success'
= link_to 'Export PDF', { format: :pdf }, class: 'btn btn-success'
= link_to 'Export XLS', { format: :xlsx }, class: 'btn btn-success'
%p.text-muted
All the people who registered to your event
.col-md-4