Sha256: ac64335821a9567fb7e074edc4f44b7736f1d09fbe9211bbba69fce352f3258e
Contents?: true
Size: 1.18 KB
Versions: 16
Compression:
Stored size: 1.18 KB
Contents
<% content_for(:header_title) { "Clean Up" } %> <%= form_for :clean_ups, url: clean_ups_path do |f| %> <div class="panel panel-default"> <div class="panel-heading"> <div class="panel-title"> Clean Up </div> </div> <div class="table-responsive"> <table class="table table-hover table-striped"> <thead> <th colspan="2">Key</th> <th>File</th> </thead> <tbody> <% translations_to_clean_up.each do |translation| %> <tr class="translation-value" data-id="<%= translation.id %>"> <td> <%= check_box_tag("c[#{translation.id}]", 1, true) %> </td> <td> <%= translation.key %> </td> <td> <%= path_without_root_or_locales(translation.file_path) %> </td> </tr> <% end %> <% if translations_to_clean_up.empty? %> <tr> <td colspan="3">No translations were found</td> </tr> <% end %> </tbody> </table> </div> </div> <%= f.submit "Delete", class: ["btn", "btn-danger"] %> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems