Use a shared translation for search buttons

We were writing the same text over and over for the same translations.
Since they all serve the same function, it's perfectly fine for them to
have the same text, and so we can have a shared translation.
This commit is contained in:
Javi Martín
2020-12-03 15:44:12 +01:00
parent 49c22b880c
commit 0a3acf3c5f
17 changed files with 18 additions and 36 deletions

View File

@@ -13,7 +13,7 @@
<div class="input-group">
<%= text_field_tag :search, "", placeholder: t("admin.local_census_records.index.search.placeholder") %>
<div class="input-group-button">
<%= submit_tag t("admin.local_census_records.index.search.search"), class: "button" %>
<%= submit_tag t("admin.shared.search.search"), class: "button" %>
</div>
</div>
<% end %>