<%= teaching_plan_form.association :unity, as: :select2, elements: Unity.to_select, required: false, readonly: true %>
<%= teaching_plan_form.association :grade, as: :select2, elements: Grade.to_select, required: false, readonly: true %>
<%= f.simple_fields_for :teaching_plan, @knowledge_area_teaching_plan do |form| %>
<%= form.input :knowledge_area_ids, as: :select2,
elements: @knowledge_areas, multiple: true,
input_html: { data: { without_json_parser: true } },
readonly: true %>
<% end %>
<%= teaching_plan_form.association :school_term_type, as: :select2, required: false, elements: SchoolTermType.to_select2(
current_user.current_school_year,
current_user.current_unity_id,
add_empty_element: false
).to_json, input_html: { value: teaching_plan_form.object.school_term_type_id, data: { without_json_parser: true } }, readonly: true %>
<%= teaching_plan_form.association :school_term_type_step, as: :select2, required: false, elements: SchoolTermTypeStep.to_select2(
current_user.current_school_year,
current_user.current_unity_id
).to_json, input_html: { value: teaching_plan_form.object.school_term_type_step_id, data: { without_json_parser: true } }, readonly: true %>
<%= f.simple_fields_for :teaching_plan, @knowledge_area_teaching_plan do |form| %>
<%= form.input :experience_fields, readonly: true %>
<% end %>