diff --git a/app/views/registrar/account_activities/_search_form.html.erb b/app/views/registrar/account_activities/_search_form.html.erb index b5041a04c..92a715096 100644 --- a/app/views/registrar/account_activities/_search_form.html.erb +++ b/app/views/registrar/account_activities/_search_form.html.erb @@ -38,6 +38,9 @@   + <%= button_tag t('.download_btn'), + formaction: registrar_account_activities_path(format: 'csv'), + class: 'btn btn-default' %> <%= link_to(t('.reset_btn'), registrar_account_activities_path, class: 'btn btn-default') %> diff --git a/app/views/registrar/account_activities/index.html.erb b/app/views/registrar/account_activities/index.html.erb index 257c4d306..c5eaf2063 100644 --- a/app/views/registrar/account_activities/index.html.erb +++ b/app/views/registrar/account_activities/index.html.erb @@ -1,6 +1,5 @@ <% content_for :actions do %> <%= link_to(t(:back_to_billing), registrar_invoices_path, class: 'btn btn-default') %> - <%= link_to(t(:export_csv), url_for(params.merge(format: 'csv')), class: 'btn btn-default') %> <% end %> <%= render 'shared/title', name: t(:account_activity) %> diff --git a/config/locales/en.yml b/config/locales/en.yml index e57723cd1..5742398f7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -592,7 +592,6 @@ en: receipt_date_from: 'Receipt date from' receipt_date_until: 'Receipt date until' add_credit: 'Add credit' - export_csv: 'Export CSV' invalid_yaml: 'Invalid YAML' reserved_pw: 'Reserved pw' no_transfers_found: 'No transfers found' diff --git a/config/locales/registrar/account_activities.en.yml b/config/locales/registrar/account_activities.en.yml index bba527c9c..374760065 100644 --- a/config/locales/registrar/account_activities.en.yml +++ b/config/locales/registrar/account_activities.en.yml @@ -2,4 +2,5 @@ en: registrar: account_activities: search_form: + download_btn: Download CSV reset_btn: Reset