Sha256: 9e82778f35f184ebe9bb4146890b31127b29650237ccdd9cc610e8453af815c8
Contents?: true
Size: 1.48 KB
Versions: 8
Compression:
Stored size: 1.48 KB
Contents
<% content_for(:header_title) { "Movals" } %> <%= form_tag do %> <% count = 0 %> <div class="panel panel-default"> <div class="table-responsive"> <table class="table table-hover table-striped"> <thead> <tr> <th></th> <th>Key</th> <th>Path</th> <th>Right path</th> </tr> </thead> <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> <td> <%= moval.key %> </td> <td> <%= path_without_root_or_locales moval.file_path %> </td> <td> <%= path_without_root_or_locales "#{handler_translation.dir}/#{moval.locale}.yml" %> </td> </tr> <% end %> <% if count <= 0 %> <tr> <td colspan="4">No wrongly placed translations was found</td> </tr> <% end %> </tbody> </table> </div> </div> <% if count > 0 %> <div class="panel panel-default"> <div class="panel-body"> <input class="btn btn-primary" type="submit" value="Move" /> </div> </div> <% end %> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems