Fix translations in admin area

#341
This commit is contained in:
Artur Beljajev 2017-01-17 17:41:09 +02:00
parent 62bb0edbd9
commit 689453eebf
8 changed files with 32 additions and 27 deletions

View file

@ -70,8 +70,7 @@
 
%span.glyphicon.glyphicon-search
 
%button.btn.btn-default.js-reset-form
= t(:clear_fields)
= link_to(t('.reset_btn'), admin_contacts_path, class: 'btn btn-default')
%hr
.row
.col-md-12
@ -106,8 +105,3 @@
.col-md-6.text-right
.pagination
= t(:result_count, count: @contacts.total_count)
:coffee
$(".js-reset-form").on "click", (e) ->
e.preventDefault();
window.location = "#{admin_contacts_path}"