Sha256: 03137d42b0c30472ec911f4dbfd5a4e828950be20cf70e729fd67ecb75f7aea2

Contents?: true

Size: 747 Bytes

Versions: 23

Compression:

Stored size: 747 Bytes

Contents

- content_for(:header_title) { "Migrate translations into AwesomeTranslations" }

= form_for :migration, url: migrations_path do |f|
  = bb_panel "Migrate", table: true do
    %thead
      %tr
        %th{colspan: 2} Key
        %th File
        %th New file
    %tbody
      - translations_to_migrate.each do |translation|
        %tr
          %td= check_box_tag("m[#{translation.id}]", 1, true)
          %td= translation.key
          %td= path_without_root_or_locales(translation.file_path)
          %td= path_without_root_or_locales(translation.calculated_translation_file_path)
      - if translations_to_migrate.empty?
        %tr
          %td{colspan: 4} No translations were found

  = f.submit "Migrate", class: ["btn", "btn-danger"]

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
awesome_translations-0.0.49 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.48 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.47 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.46 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.45 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.44 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.43 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.42 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.41 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.40 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.39 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.38 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.37 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.36 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.35 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.34 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.33 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.32 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.31 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.30 app/views/awesome_translations/migrations/new.html.haml