Add CSV download for User

This commit is contained in:
Patrick Gansterer 2021-03-07 18:13:10 +01:00
parent 47d9c79617
commit d48320f9e0
3 changed files with 46 additions and 0 deletions

View file

@ -2,6 +2,9 @@
- content_for :actionbar do
= link_to t('.new_user'), new_admin_user_path, class: 'btn btn-primary'
= link_to url_for(search: params[:q], format: :csv), class: 'btn' do
= glyph :download
CSV
- content_for :sidebar do
%p= t('.first_paragraph', url: link_to(t('.new_users'), new_admin_user_path)).html_safe