|
<% if f.object.persisted? %>
<%= f.hidden_field :id %>
<%= f.hidden_field :_destroy %>
<% end %>
<% present(f.object) do |student| %>
<%= f.input :student_id, as: :hidden %>
<%= student.student_name %>
<% end %>
|
<%= @students_lowest_note.lowest_note_in_step(
f.object.student.id,
@lowest_note_recovery.recovery_diary_record.classroom,
@lowest_note_recovery.recovery_diary_record.discipline,
@lowest_note_recovery.step.id
)
%>
|
<%= f.input :score, label: false, input_html: decimal_input_mask(decimal_places),
readonly: !f.object.active || f.object.exempted_from_discipline %>
|