% content_for :js do %> <%= javascript_include_tag 'views/knowledge_area_content_records/index' %> <% end %>
| <%= f.input :by_classroom_id, as: :select2, elements: @classrooms, label: false, placeholder: t('.by_classroom_description') %> | <%= f.input :by_knowledge_area_id, as: :select2, elements: @knowledge_areas, label: false, placeholder: t('.by_knowledge_area_description') %> | <%= f.input :by_date, as: :date, label: false, placeholder: t('.by_date') %> | <%= f.input :by_author, as: :select2_plans, label: false %> | <%= link_to t('.new_html'), new_knowledge_area_content_record_path, class: 'btn btn-primary pull-right', style: 'width: 165px;' %> |
|---|---|---|---|---|
| <%= ContentRecord.human_attribute_name :classroom %> | <%= KnowledgeAreaContentRecord.human_attribute_name :knowledge_areas %> | <%= ContentRecord.human_attribute_name :record_date %> | <%= KnowledgeAreaContentRecord.human_attribute_name :author %> | <%= render 'shared/pagination', records: @knowledge_area_content_records %> |