Sha256: 3ce10e89f2e24205ccb3347a82508be3590b9ebc488186e1708eeefa01c325fa
Contents?: true
Size: 1.97 KB
Versions: 9
Compression:
Stored size: 1.97 KB
Contents
= within_admin_layout(title: "Letters") do .search-form.filters = simple_form_for @q, as: :q, url: letters_list_path, html: { autocomplete: "off" }, method: :get do |f| .row .small-6.medium-1.large-1.columns = f.input :enclosures_present, as: :select, label: "Enclosure" .small-6.medium-3.large-2.columns = f.input :state_eq, collection: state_options, label: "State" .small-6.medium-3.large-2.columns = f.input :author_id_eq, as: :user_picker, collection: @authors, label: "Author" .small-6.medium-3.large-2.columns = f.input :created_by_id_eq, as: :user_picker, collection: @typists, label: "Typist" .small-12.medium-2.large-4.columns.actions.end = f.submit t("helpers.submit.filter"), class: "button" span= " or " = link_to t("helpers.reset"), letters_list_path .row .columns =button_to "/", class: "button secondary" do i.fa.fa-print | Print All .row .columns.small-12 table.report.letters thead tr th.noprint th Type th= sort_link([:renalware, @q], :type, "State") th.col-width-medium= sort_link([:renalware, @q], :patient_family_name, "Patient") th.col-width-nhs-no= sort_link([:renalware, @q], :patient_nhs_number, "NHS No") th= sort_link([:renalware, @q], :enclosures, "Enc.") th.col-width-date = sort_link([:renalware, @q], :issued_on, "Date", default_order: :desc) th= sort_link([:renalware, @q], :author_family_name, "Author") th= sort_link([:renalware, @q], :created_by_family_name, "Typist") th.col-width-small Recipient th Description tbody - @letters.each do |letter| = render "letter", letter: letter = paginate @letters
Version data entries
9 entries across 9 versions & 1 rubygems