Group submit buttons in UI

This commit is contained in:
Artur Beljajev 2019-11-05 15:43:27 +02:00
parent 3539c3f28c
commit 33b9bff7a9
4 changed files with 4 additions and 2 deletions

View file

@ -38,6 +38,9 @@
<span class="glyphicon glyphicon-search"></span>
&nbsp;
</button>
<%= 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') %>
</div>
</div>

View file

@ -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) %>

View file

@ -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'

View file

@ -2,4 +2,5 @@ en:
registrar:
account_activities:
search_form:
download_btn: Download CSV
reset_btn: Reset