Clean up export links on admin/registrations #BetterPlace
This commit is contained in:
parent
f3757fd4e7
commit
eea05d649c
1 changed files with 3 additions and 3 deletions
|
|
@ -8,9 +8,9 @@
|
||||||
= "(#{@registrations.length})" if @registrations
|
= "(#{@registrations.length})" if @registrations
|
||||||
.btn-group.pull-right
|
.btn-group.pull-right
|
||||||
- if can? :read, Registration
|
- if can? :read, Registration
|
||||||
= link_to 'Export CSV', admin_conference_registrations_path(@conference.short_title, format: :csv), class: 'btn btn-success'
|
= link_to 'Export CSV', { 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 PDF', { format: :pdf }, class: 'btn btn-success'
|
||||||
= link_to 'Export XLS', {format: :xlsx}, class: 'btn btn-success'
|
= link_to 'Export XLS', { format: :xlsx }, class: 'btn btn-success'
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
All the people who registered to your event
|
All the people who registered to your event
|
||||||
.col-md-4
|
.col-md-4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue