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:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user