Sha256: 5d785db9e3c385543ea15fd384e55cb5f90221ee9940afaf1a304491bc6511b1

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

table.table.table-striped.table-bordered style='width: 1050px;'
  thead
    tr
      th= t('admin.locators.locale')
      th= t('admin.locators.file')
  - @files.each do |path|
    - filename = File.basename(path)
    tr class=cycle('odd', 'even')
      td= filename.to_s[/\w+/]
      td= link_to filename, edit_admin_locators_path(filename: filename)

=> link_to t('admin.locators.prepare'), prepare_admin_locators_path, class: 'btn btn-warning', method: :post
=> link_to t('admin.locators.restart'), reload_admin_locators_path, class: 'btn btn-primary', method: :post

hr

= form_tag export_admin_locators_path, method: :get do
  input.input-xxlarge> type='text' name='keys' placeholder='Keys comma separated'
  br
  input.input-medium.fancy_select> type='text' name='locales' placeholder='Locales, all by default' data-tags=I18n.available_locales.to_json
  br
  br
  button.btn Export CSV

hr

= form_tag import_admin_locators_path, method: :post, multipart: true do
  = file_field_tag :csv_file
  br
  input.input-medium.fancy_select> type='text' name='locales' placeholder='Locales, all by default' data-tags=I18n.available_locales.to_json
  br
  br
  button.btn Import CSV

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ab_admin-0.8.2 app/views/admin/locators/show.html.slim
ab_admin-0.8.1 app/views/admin/locators/show.html.slim
ab_admin-0.8.0 app/views/admin/locators/show.html.slim