Remove inline coffeescript

This commit is contained in:
Artur Beljajev 2018-01-11 16:07:19 +02:00
parent 5533b4f891
commit 51a80ce748
2 changed files with 2 additions and 8 deletions

View file

@ -30,8 +30,7 @@
   
%span.glyphicon.glyphicon-search %span.glyphicon.glyphicon-search
   
%button.btn.btn-default.js-reset-form = link_to(t('.reset_btn'), registrant_domains_path, class: 'btn btn-default')
= t(:clear_fields)
.row .row
.col-md-3 .col-md-3
.btn-group{:role => "group"} .btn-group{:role => "group"}
@ -76,9 +75,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 = "#{registrant_domains_path}"

View file

@ -3,6 +3,7 @@ en:
domains: domains:
index: index:
registrant: Registrant registrant: Registrant
reset_btn: Reset
download_list: download_list:
registrant: Registrant registrant: Registrant