Sha256: 0187b286386307a5064c2bd58182e350cbc8b5dbf0929cea62bb6f7a94a1adc8

Contents?: true

Size: 687 Bytes

Versions: 2

Compression:

Stored size: 687 Bytes

Contents

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

= form_for :migration, url: migrations_path do |f|
  %table
    %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"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
awesome_translations-0.0.26 app/views/awesome_translations/migrations/new.html.haml
awesome_translations-0.0.25 app/views/awesome_translations/migrations/new.html.haml