Sha256: 7bc1602c7a1fabc6de1788be4f2bded9f063a5a87eab8821d15b0e9b52e4aea9

Contents?: true

Size: 840 Bytes

Versions: 17

Compression:

Stored size: 840 Bytes

Contents

- content_for(:header_title) { "Movals" }

= simple_form_for :movals do |f|
  - count = 0

  = bb_panel table: true do
    %thead
      %tr
        %th
        %th Key
        %th Path
        %th Right path
    %tbody
      - @movals.each do |moval|
        - handler_translation = AwesomeTranslations::CacheDatabaseGenerator::HandlerTranslation.find(moval.handler_translation_id)
        - count += 1

        %tr
          %td= check_box_tag "m[#{moval.id}]", handler_translation.id, true
          %td= moval.key
          %td= path_without_root_or_locales moval.file_path
          %td= path_without_root_or_locales "#{handler_translation.dir}/#{moval.locale}.yml"
      - if count <= 0
        %tr
          %td{colspan: 4} No wrongly placed translations was found

  - if count > 0
    = bb_panel do
      = f.button :submit, "Move"

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
awesome_translations-0.0.49 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.48 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.47 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.46 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.45 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.44 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.43 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.42 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.41 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.40 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.39 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.38 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.37 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.36 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.35 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.34 app/views/awesome_translations/movals/index.html.haml
awesome_translations-0.0.33 app/views/awesome_translations/movals/index.html.haml