<%= simple_form_for :filter, { url: discipline_teaching_plans_path, method: :get, html: { class: 'filterable_search_form' } } do |f| %>
<%= render 'resources' %>
<%= f.input :by_grade, as: :select2, elements: @grades, label: false, placeholder: t('.by_grade') %> <%= f.input :by_discipline, as: :select2, elements: @disciplines, label: false, placeholder: t('.by_discipline') %> <%= f.input :by_school_term_type_id, as: :select2, elements: @school_term_type, label: false, placeholder: t('.by_school_term_type') %> <%= f.input :by_school_term_type_step_id, as: :select2, elements: @school_term_type_step, label: false, placeholder: t('.by_school_term_type_step') %> <%= f.input :by_author, as: :select2_plans, label: false %> <%= link_to t('.new_html'), new_discipline_teaching_plan_path, class: 'btn btn-primary pull-right', style: 'width: 100%;' %>
<%= TeachingPlan.human_attribute_name :unity %> <%= TeachingPlan.human_attribute_name :grade %> <%= DisciplineTeachingPlan.human_attribute_name :discipline %> <%= DisciplineTeachingPlan.human_attribute_name :thematic_unit %> <%= TeachingPlan.human_attribute_name :school_term_type %> <%= TeachingPlan.human_attribute_name :school_term_type_step %> <%= DisciplineTeachingPlan.human_attribute_name :author %>
<%= render 'shared/pagination', records: @discipline_teaching_plans %>
<% end %>