<%= DailyNote.human_attribute_name :unity %> <%= DailyNote.human_attribute_name :classroom %> <%= DailyNote.human_attribute_name :discipline %> <%= DailyNote.human_attribute_name :avaliation %>
<%= @daily_note.classroom.unity %> <%= @daily_note.classroom %> <%= @daily_note.discipline %> <%= @daily_note.avaliation.description_to_teacher %> <%= link_to("#", class: 'btn btn-primary btn-exempt-students-disabled open-exemption-modal', id: 'exempt_students_button', disabled: true) do %> Dispensar selecionados <% end %>
<%= hidden_field_tag(:daily_note_id, @daily_note.id) %> <%= simple_form_for @daily_note, html: { class: "smart-form" } do |f| %> <%= f.error_notification %> <%= render 'shared/base_error_alert', f: f %> <% 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 && @dependence_students.any? %> <%= f.fields_for :students, @dependence_students do |student| %> <% sequence += 1 %> <%= render 'student_fields', f: student, sequence: sequence %> <% end %> <% end %> <% if @any_exempted_student %> <% end %> <% if @any_inactive_student %> <% end %> <% if @any_student_exempted_from_discipline %> <% end %> <% if @any_in_active_search %> <% end %>
<%= DailyNoteStudent.human_attribute_name :student %> <%= DailyNoteStudent.human_attribute_name :note %>
<%= t('.dependence_students_legend') %>
<%= t('.exempted_students_legend') %>
<%= t('.inactive_students_legend') %>
<%= t('.exempted_students_from_discipline_legend') %>
<%= t('.in_active_search') %>
<% end %>
<%= render 'exemption_modal' %>