<%= simple_form_for :filter, { url: school_term_recovery_diary_records_path, method: :get, html: { class: 'filterable_search_form' } } do |f| %>
<%= render 'resources' %>
<%= f.input :by_classroom_id, as: :select2, elements: @classrooms, label: false, placeholder: t('.by_classroom_id') %> <%= f.input :by_discipline_id, as: :select2, elements: @disciplines, label: false, placeholder: t('.by_discipline_id') %> <%= f.input :by_step_id, as: :select2_step, classroom: current_user_classroom, label: false, placeholder: t('.by_step_id') %> <%= f.input :by_recorded_at, as: :date, label: false, placeholder: t('.by_recorded_at') %> <%= link_to t('.new_html'), new_school_term_recovery_diary_record_path, class: 'btn btn-primary pull-right' %>
<%= RecoveryDiaryRecord.human_attribute_name :unity %> <%= RecoveryDiaryRecord.human_attribute_name :classroom %> <%= RecoveryDiaryRecord.human_attribute_name :discipline %> <%= SchoolTermRecoveryDiaryRecord.human_attribute_name :step %> <%= RecoveryDiaryRecord.human_attribute_name :recorded_at %>
<%= paginate @school_term_recovery_diary_records %>
<% end %>