Sha256: d01cd4e7700b879841cf3021a8f49f41e539196fde603a13cfb3b4fcb87a3c3d
Contents?: true
Size: 1.35 KB
Versions: 18
Compression:
Stored size: 1.35 KB
Contents
<% content_for(:header_title) { "Migrate translations into AwesomeTranslations" } %> <%= form_for :migration, url: migrations_path do |f| %> <div class="panel panel-default"> <div class="panel-heading"> <div class="panel-title"> Migrate </div> </div> <div class="table-responsive"> <table class="table table-hover table-striped"> <thead> <tr> <th colspan="2">Key</th> <th>File</th> <th>New file</th> </tr> </thead> <tbody> <% translations_to_migrate.each do |translation| %> <tr> <td> <%= check_box_tag("m[#{translation.id}]", 1, true) %> </td> <td> <%= translation.key %> </td> <td> <%= path_without_root_or_locales(translation.file_path) %> </td> <td> <%= path_without_root_or_locales(translation.calculated_translation_file_path) %> </td> </tr> <% end %> <% if translations_to_migrate.empty? %> <tr> <td colspan="4">No translations were found</td> </tr> <% end %> </tbody> </table> </div> </div> <%= f.submit "Migrate", class: ["btn", "btn-danger"] %> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems