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

Version Path
awesome_translations-0.0.66 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.65 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.64 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.63 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.62 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.61 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.60 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.59 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.58 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.57 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.56 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.55 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.54 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.53 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.52 app/views/awesome_translations/clean_ups/new.html.erb
awesome_translations-0.0.51 app/views/awesome_translations/clean_ups/new.html.erb