<% if @conceptual_exams.empty? %>
| <%= t('views.index.no_record_found')%> |
<% else %>
<% @conceptual_exams.each do |conceptual_exam| %>
| <%= conceptual_exam.classroom.unity %> |
<%= conceptual_exam.classroom %> |
<%= conceptual_exam.student %> |
<%= conceptual_exam.step %> |
<% conceptual_exam.teacher_id = current_teacher_id %>
<%= ConceptualExamStatus.t(conceptual_exam.status) %>
|
<%= link_to t('helpers.links.show_html'), conceptual_exam_path(conceptual_exam), style: "width: 31%;",
class: 'btn btn-info apply_tooltip', title: t('conceptual_exams.form.show') %>
<% if current_user.can_change?(:conceptual_exams) %>
<%= link_to t('helpers.links.edit_html'), edit_conceptual_exam_path(conceptual_exam), style: "width: 31%;",
class: 'btn btn-success apply_tooltip', title: t('conceptual_exams.form.edit') %>
<%= link_to t('helpers.links.destroy_html'), conceptual_exam_path(conceptual_exam), style: "width: 31%;",
class: 'btn btn-danger apply_tooltip', method: 'delete', title: t('conceptual_exams.form.destroy'),
data: { confirm: t('views.index.confirm_deletion') } %>
<% end %>
|
<% end %>
<% end %>