Sha256: d8bd97458cb917a2febacae7d84bc41647a165fecdc1ac98ec0bb41e8c05c0c6
Contents?: true
Size: 784 Bytes
Versions: 17
Compression:
Stored size: 784 Bytes
Contents
- content_for(:header_title) { "Duplicates" } = simple_form_for :duplicates do |f| - count = 0 = bb_panel table: true do %thead %tr %th %th Key %th Path %th Other path %tbody - @duplicates.each do |duplicate| - count += 1 - other = AwesomeTranslations::CacheDatabaseGenerator::TranslationValue.find(duplicate.duplicate_id) %tr %td= check_box_tag "d[#{other.id}]", 1, true %td= duplicate.key %td= path_without_root_or_locales duplicate.file_path %td= path_without_root_or_locales other.file_path - if count == 0 %tr %td{colspan: 4} No duplicates was found - if count > 0 = bb_panel do = f.button :submit, "Delete duplicates"
Version data entries
17 entries across 17 versions & 1 rubygems