app/views/admin/locators/edit.html.slim in ab_admin-0.5.0 vs app/views/admin/locators/edit.html.slim in ab_admin-0.6.0
- old
+ new
@@ -18,12 +18,12 @@
tr
th = t 'admin.locators.key'
th = locale_file.locale
th = I18n.default_locale
tr
- - 3.times do
+ - [:key_contains, :edit_locale_contains, :main_locale_contains].each do |param|
th
- input.filter_field type='text' placeholder=t('admin.locators.filter')
+ input.filter_field type='text' value=params[param] placeholder=t('admin.locators.filter')
= form_tag(admin_locators_path, method: :put) do
tbody#locale_data
= hidden_field_tag 'edit_locale_name', locale_file.locale
= hidden_field_tag 'main_locale_name', I18n.default_locale
= hidden_field_tag 'filename', locale_file.filename
\ No newline at end of file