Fix tricky i18n error on html render (not js)

This commit is contained in:
wvengen 2016-08-09 20:38:55 +02:00
parent bd22da50a6
commit 326016dfb5

View file

@ -16,5 +16,5 @@
$('#query').attr('placeholder', placeholder);
}
$(function() {
activate_search('#{j @view}', '#{j t(".search_placeholder.#{@view}")}');
activate_search('#{j @view}', '#{j t("orders.show.search_placeholder.#{@view}")}');
});