mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Remove inline JS
This commit is contained in:
parent
1c8d3badce
commit
ac349a8e12
2 changed files with 2 additions and 7 deletions
|
@ -47,8 +47,7 @@
|
||||||
|
|
||||||
%span.glyphicon.glyphicon-search
|
%span.glyphicon.glyphicon-search
|
||||||
|
|
||||||
%button.btn.btn-default.js-reset-form
|
= link_to t('.reset_btn'), registrar_domains_path, class: 'btn btn-default'
|
||||||
= t(:clear_fields)
|
|
||||||
.row
|
.row
|
||||||
.col-md-2
|
.col-md-2
|
||||||
= button_tag t('.download_btn'), class: 'btn btn-primary export-domains-csv-btn',
|
= button_tag t('.download_btn'), class: 'btn btn-primary export-domains-csv-btn',
|
||||||
|
@ -89,8 +88,3 @@
|
||||||
.col-md-6.text-right
|
.col-md-6.text-right
|
||||||
.pagination
|
.pagination
|
||||||
= t(:result_count, count: @domains.total_count)
|
= t(:result_count, count: @domains.total_count)
|
||||||
|
|
||||||
:coffee
|
|
||||||
$(".js-reset-form").on "click", (e) ->
|
|
||||||
e.preventDefault();
|
|
||||||
window.location = "#{registrar_domains_path}"
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ en:
|
||||||
domains:
|
domains:
|
||||||
index:
|
index:
|
||||||
registrant: Registrant
|
registrant: Registrant
|
||||||
|
reset_btn: Reset
|
||||||
download_btn: Download
|
download_btn: Download
|
||||||
csv:
|
csv:
|
||||||
domain_name: Domain
|
domain_name: Domain
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue