diff --git a/app/views/registrant/domains/index.haml b/app/views/registrant/domains/index.haml index 056abd885..c0daa60df 100644 --- a/app/views/registrant/domains/index.haml +++ b/app/views/registrant/domains/index.haml @@ -30,8 +30,7 @@   %span.glyphicon.glyphicon-search   - %button.btn.btn-default.js-reset-form - = t(:clear_fields) + = link_to(t('.reset_btn'), registrant_domains_path, class: 'btn btn-default') .row .col-md-3 .btn-group{:role => "group"} @@ -76,9 +75,3 @@ .col-md-6.text-right .pagination = t(:result_count, count: @domains.total_count) - -:coffee - $(".js-reset-form").on "click", (e) -> - e.preventDefault(); - window.location = "#{registrant_domains_path}" - diff --git a/config/locales/registrant/domains.en.yml b/config/locales/registrant/domains.en.yml index efbe514e5..d426e24fe 100644 --- a/config/locales/registrant/domains.en.yml +++ b/config/locales/registrant/domains.en.yml @@ -3,6 +3,7 @@ en: domains: index: registrant: Registrant + reset_btn: Reset download_list: registrant: Registrant