Sha256: 1770c07008f82ccf4496b819530310d6080601de8add73921a59107db2b40856
Contents?: true
Size: 1.21 KB
Versions: 20
Compression:
Stored size: 1.21 KB
Contents
- content_for(:header_title) { "Translations" } = bb_panel "Filter" do = simple_search_form_for @ransack do |f| = f.input :translation_key_key_cont, label: "Key", autofocus: true = f.input :handler_name_cont = f.input :group_name_cont = f.button :submit, "Filter", class: ["btn", "btn-primary"] = bb_panel "Translations", table: true do %thead %tr %th Key %th.hidden-sm-down Handler %th.hidden-xs-down Group %th.hidden-md-down Finished? %th.hidden-sm-down= bm_sort_link @ransack, :created_at %tbody - @handler_translations.each do |handler_translation| %tr %td= link_to handler_translation.key, [handler_translation.handler, handler_translation.group] %td.hidden-sm-down= link_to handler_translation.handler.name, handler_translation.handler %td.hidden-xs-down= link_to handler_translation.group.name, [handler_translation.handler, handler_translation.group] %td.hidden-md-down= handler_translation.finished? ? "Yes" : "No" %td.hidden-sm-down= l(handler_translation.created_at, format: :short) - if @handler_translations.empty? %tr %td{colspan: 5} No translations = bm_paginate_content @handler_translations
Version data entries
20 entries across 20 versions & 1 rubygems