Sha256: 771c0b04d499a70a9a1a3884129f6e59be53e3f6589fb7f18e3b96ead26090ba
Contents?: true
Size: 1.71 KB
Versions: 3
Compression:
Stored size: 1.71 KB
Contents
.clearfix .btn-group.pull-left data-toggle="buttons-radio" button#show_all.btn type="button" = icon('list') = t 'admin.locators.all_terms' button#show_incomplete.btn type="button" = icon('exclamation-sign') = t 'admin.locators.incomplete' button#show_complete.btn type="button" = icon('ok') = t 'admin.locators.complete' button#translate_incomplete.btn.btn-danger.pull-left type="button" = t 'admin.locators.translate_incomplete' - master_locale = params[:master_locale].try!(:to_sym) || I18n.default_locale - locale_file = Locator.prepare_data(@file) table.table.table-bordered.table-striped thead tr th= t 'admin.locators.key' th= locale_file.locale th= master_locale tr - [:key_contains, :edit_locale_contains, :main_locale_contains].each do |param| th 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', master_locale = hidden_field_tag 'filename', locale_file.filename - locale_file.flat_data.each do |keys, value| tr class=(value.blank? ? 'error' : 'ready') td.locale_keys div== keys.join(' > ') .btn.btn-mini.btn-inverse.auto_translate.pull-right google translate td= text_area_tag 'locale_hash' + keys.map{|k| "[#{k}]" }.join, value td= text_area_tag 'fake', t(keys.join('.'), locale: master_locale), disabled: true tbody tr td colspan=3 = submit_tag t('admin.form.save'), class: 'btn btn-primary' = init_js('new Locator()')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.11.0 | app/views/admin/locators/edit.html.slim |
ab_admin-0.10.0 | app/views/admin/locators/edit.html.slim |
ab_admin-0.9.0 | app/views/admin/locators/edit.html.slim |