<% content_for :cover do %> <%= render Reports::MultiCheckboxInputComponent.new( report: report, name: :seals, label: 'Seals', items: { intact: 'Intact', broken: 'Broken', none: 'None' } ) %> <%= render Reports::DateInputComponent.new(report: report, name: :date_recieved, label: 'Date recieved') %> <%= render Reports::TextInputComponent.new(report: report, name: :recieved_from, label: 'Received from') %> <%= render Reports::TextInputComponent.new(report: report, name: :district_laboratory, label: 'District or laboratory') %> <%= render Reports::LargeTextInputComponent.new(report: report, name: :sample_description, label: 'Descripton of sample') %> <%= render Reports::TextInputComponent.new(report: report, name: :units_examined, label: 'Units examined') %> <%= render Reports::TextInputComponent.new(report: report, name: :declare_unit, label: 'Declare unit') %> <%= render Reports::TextInputComponent.new(report: report, name: :amount_found, label: 'Amount found') %> <%= render Reports::TextInputComponent.new(report: report, name: :percent_of_declared, label: 'Percent of declared') %> <%= render Reports::CheckboxInputComponent.new(report: report, name: :not_applicable, label: 'Not applicable') %> <%= render Reports::CheckboxInputComponent.new(report: report, name: :not_determined, label: 'Not determined') %> <%= render Reports::TextInputComponent.new(report: report, name: :originals_submitted, label: 'Original(s) submitted') %> <%= render Reports::TextInputComponent.new(report: report, name: :copies_submitted, label: 'Copies submitted') %> <%= render Reports::CheckboxInputComponent.new(report: report, name: :labeling_none, label: 'None') %> <%= render Reports::LargeTextInputComponent.new(report: report, name: :analysis_summary, label: 'Summary of analysis') %> <%= render Reports::TextInputComponent.new(report: report, name: :reserve_sample, label: 'Reserve sample') %> <%= render Reports::CheckboxInputComponent.new(report: report, name: :analyst_signature_broke, label: 'Broke seal') %> <%= render Reports::TextInputComponent.new(report: report, name: :analyst_signature_a, label: 'Analyst signature A') %> <%= render Reports::TextInputComponent.new(report: report, name: :analyst_signature_b, label: 'Analyst signature B') %> <%= render Reports::TextInputComponent.new(report: report, name: :analyst_signature_c, label: 'Analyst signature C') %> <%= render Reports::TextInputComponent.new(report: report, name: :worksheet_check_by, label: 'Worksheet check by') %> <%= render Reports::DateInputComponent.new(report: report, name: :worksheet_check_date, label: 'Worksheet check date') %> <%= render Reports::DateInputComponent.new(report: report, name: :date_reported, label: 'Date reported') %> <% end %> <% content_for :footer do %> <%= render Reports::ProjectMembersInputComponent.new(report: report, name: :analyst, label: 'Analyst') %> <%= render Reports::ProjectMembersInputComponent.new(report: report, name: :analyst_number, label: 'Employee number', displayed_field: :external_id) %> <%= render Reports::ProjectMembersInputComponent.new(report: report, name: :checked_by, label: 'Checked by') %> <% end %>