<% content_for :js do %> <%= javascript_include_tag 'views/descriptive_exams/functions' %> <%= javascript_include_tag 'views/descriptive_exams/show' %> <% end %>
<%= simple_form_for @descriptive_exam, html: { class: "smart-form" } do |f| %> <% if @descriptive_exam.discipline.present? %> <% end %> <% if @descriptive_exam.step_id.present? %> <% end %> <% if @descriptive_exam.discipline.present? %> <% end %> <% if @descriptive_exam.step_id.present? %> <% end %>
<%= DescriptiveExam.human_attribute_name :unity %> <%= DescriptiveExam.human_attribute_name :classroom %><%= DescriptiveExam.human_attribute_name :discipline %><%= DescriptiveExam.human_attribute_name :step %>
<%= @descriptive_exam.unity %> <%= @descriptive_exam.classroom %><%= @descriptive_exam.discipline %><%= @descriptive_exam.step %>
<%= f.error_notification %> <% sequence = 0 %> <%= f.fields_for :students, @normal_students do |student| %> <% sequence += 1 %> <%= render 'student_fields', f: student, sequence: sequence %> <% end %> <% sequence = 0 %> <% if @dependence_students.any? %> <%= f.fields_for :students, @dependence_students do |student| %> <% sequence += 1 %> <%= render 'student_fields', f: student, sequence: sequence %> <% end %> <% end %> <% if @any_student_exempted_from_discipline %> <% end %>
Sequencial <%= DescriptiveExamStudent.human_attribute_name :student %> <%= DescriptiveExamStudent.human_attribute_name :value %>
<%= t('.dependence_students') %>
<%= t('.exempted_students_from_discipline_legend') %>
<% end %>