<tr class="nested-fields" id="<%= id %>">
  <td>
    <div class="control-group hidden school_term_recovery_diary_record_recovery_diary_record_students_student_id">
      <div class="controls input">
        <input class="hidden" type="hidden" name="school_term_recovery_diary_record[recovery_diary_record_attributes][students_attributes][<%= element_id %>][student_id]" id="school_term_recovery_diary_record_recovery_diary_record_attributes_students_attributes_<%= element_id %>_student_id" value=<%= id %>>
      </div>
    </div>

    <% if(exempted_from_discipline) { %>
      <span class="exempted-student-from-discipline">****<%= name %></span>
    <% } else { %>
      <span class="multiline"><%= name %></span>
    <% } %>
  </td>

  <td>
    <span class="current-average">
      <%= average %>
    </span>
  </td>

  <td>
    <div class="control-group decimal optional school_term_recovery_diary_record_recovery_diary_record_students_score">
      <label class="decimal optional control-label hidden" for="school_term_recovery_diary_record_recovery_diary_record_attributes_students_attributes_<%= element_id %>_score">
        Nota
      </label>
      <div class="controls input">
        <input class="string decimal form-control decimal form-control decimal optional" type="decimal"
          name="school_term_recovery_diary_record[recovery_diary_record_attributes][students_attributes][<%= element_id %>][score]"
          id="school_term_recovery_diary_record_recovery_diary_record_attributes_students_attributes_<%= element_id %>_score"
          <% if(exempted_from_discipline) { %> readonly <% } %>>
      </div>
    </div>
  </td>
</tr>
