mirror of
https://github.com/internetee/registry.git
synced 2025-07-26 04:28:27 +02:00
Group submit buttons in UI
This commit is contained in:
parent
3539c3f28c
commit
33b9bff7a9
4 changed files with 4 additions and 2 deletions
|
@ -38,6 +38,9 @@
|
||||||
<span class="glyphicon glyphicon-search"></span>
|
<span class="glyphicon glyphicon-search"></span>
|
||||||
|
|
||||||
</button>
|
</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') %>
|
<%= link_to(t('.reset_btn'), registrar_account_activities_path, class: 'btn btn-default') %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<% content_for :actions do %>
|
<% content_for :actions do %>
|
||||||
<%= link_to(t(:back_to_billing), registrar_invoices_path, class: 'btn btn-default') %>
|
<%= 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 %>
|
<% end %>
|
||||||
|
|
||||||
<%= render 'shared/title', name: t(:account_activity) %>
|
<%= render 'shared/title', name: t(:account_activity) %>
|
||||||
|
|
|
@ -592,7 +592,6 @@ en:
|
||||||
receipt_date_from: 'Receipt date from'
|
receipt_date_from: 'Receipt date from'
|
||||||
receipt_date_until: 'Receipt date until'
|
receipt_date_until: 'Receipt date until'
|
||||||
add_credit: 'Add credit'
|
add_credit: 'Add credit'
|
||||||
export_csv: 'Export CSV'
|
|
||||||
invalid_yaml: 'Invalid YAML'
|
invalid_yaml: 'Invalid YAML'
|
||||||
reserved_pw: 'Reserved pw'
|
reserved_pw: 'Reserved pw'
|
||||||
no_transfers_found: 'No transfers found'
|
no_transfers_found: 'No transfers found'
|
||||||
|
|
|
@ -2,4 +2,5 @@ en:
|
||||||
registrar:
|
registrar:
|
||||||
account_activities:
|
account_activities:
|
||||||
search_form:
|
search_form:
|
||||||
|
download_btn: Download CSV
|
||||||
reset_btn: Reset
|
reset_btn: Reset
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue