Replace custom search placeholder with ui.search_placeholder

This commit is contained in:
Patrick Gansterer 2019-10-30 12:00:46 +01:00
parent 1550eedb5a
commit 30c53746fc
7 changed files with 5 additions and 18 deletions

View File

@ -1,7 +1,7 @@
.well.well-small
= search_form_for @q, url: url,
html: {data: {'submit-onchange' => true}, method: :get, remote: true, class: 'form-search'} do |f|
= f.text_field :note_cont, class: 'search-query', placeholder: t('.search_placeholder')
= f.text_field :note_cont, class: 'search-query', placeholder: t('ui.search_placeholder')
 
= label_tag 'q_created_on_gteq', FinancialTransaction.human_attribute_name(:created_on)
@ -19,4 +19,3 @@
= f.text_field :amount_gteq, class: 'input-mini'
%span.add-on -
= f.text_field :amount_lteq, class: 'input-mini search-query'

View File

@ -8,7 +8,7 @@
= form_tag finance_ordergroups_path, :method => :get, :remote => true,
'data-submit-onchange' => true, class: 'form-search' do
= text_field_tag :query, params[:query], class: 'input-medium search-query',
placeholder: t('.search_placeholder')
placeholder: t('ui.search_placeholder')
#ordergroupsTable
= render :partial => "ordergroups"

View File

@ -781,8 +781,6 @@ de:
ordergroup:
remove: Entfernen
remove_group: Gruppe enfernen
transactions_search:
search_placeholder: Suche nach ...
index:
amount_fc: Betrag(FC)
end: Ende
@ -811,7 +809,6 @@ de:
ordergroups:
index:
new_transaction: Neue Überweisungen eingeben
search_placeholder: Suchen ...
show_all: Alle Transaktionen
title: Konten verwalten
ordergroups:
@ -1622,6 +1619,7 @@ de:
please_wait: Bitte warten...
restore: Wiederherstellen
save: Speichern
search_placeholder: Suchen ...
show: Anzeigen
workgroups:
edit:

View File

@ -823,8 +823,6 @@ en:
ordergroup:
remove: Remove
remove_group: Remove group
transactions_search:
search_placeholder: Search note ...
index:
amount_fc: Amount(FC)
end: End
@ -853,7 +851,6 @@ en:
ordergroups:
index:
new_transaction: Add new transactions
search_placeholder: Search ...
show_all: All transactions
title: Manage accounts
ordergroups:

View File

@ -742,8 +742,6 @@ es:
ordergroup:
remove: Remover
remove_group: Remover grupo
transactions_search:
search_placeholder: Busca nota ...
index:
amount_fc: Importe(FC)
end: Fin
@ -772,7 +770,6 @@ es:
ordergroups:
index:
new_transaction: Añade nuevas transacciones
search_placeholder: Busca...
show_all: Todas las transacciones
title: Maneja los grupos
ordergroups:
@ -1507,6 +1504,7 @@ es:
please_wait: Espera...
restore: Restaura
save: Guardar
search_placeholder: Busca ...
show: Mostrar
workgroups:
edit:

View File

@ -590,8 +590,6 @@ fr:
ordergroup:
remove: Supprimer
remove_group: Supprimer cette cellule
transactions_search:
search_placeholder: Recherche notes ...
index:
amount_fc: Montant(boufcoop)
end: Fin
@ -614,7 +612,6 @@ fr:
ordergroups:
index:
new_transaction: Saisir une nouvelle transaction
search_placeholder: Rechercher ...
show_all: Toutes transactions
title: Crédits des cellules
ordergroups:
@ -1353,6 +1350,7 @@ fr:
or_cancel: ou annuler
please_wait: Merci de patienter...
save: Sauvegarder
search_placeholder: Rechercher ...
show: Afficher
workgroups:
edit:

View File

@ -820,8 +820,6 @@ nl:
ordergroup:
remove: Verwijderen
remove_group: Huishouden verwijderen
transactions_search:
search_placeholder: Zoeken in notitie ...
index:
amount_fc: Bedrag(FC)
end: Einde
@ -850,7 +848,6 @@ nl:
ordergroups:
index:
new_transaction: Nieuwe transacties toevoegen
search_placeholder: Zoeken ...
show_all: Transactieoverzicht
title: Tegoeden beheren
ordergroups: