{% extends 'base.html' %}

{% load static %}
{% load stud_tags %}

{% block title %} 
  {{ block.super }} {{title}}
{% endblock title %} Студенты

{% block content %}
    <h2 class="text-center">{{t_title}}</h2>
    <div class="table-responsive">
      <table class="table table-striped table-sm table-hover table-bordered">
        <thead class="text-center table-secondary">
          <tr>
            <th scope="col" class="text-end">№</th>
            <th scope="col">Тема</th>
            <th scope="col">Контракт</th>
          </tr>
        </thead>
        <tbody class="text-center">
          {% for item in objects %}
          <tr class="align-middle">
            <td class="text-end align-item-bottom">{{ forloop.counter }}.</td>
            <td>{{item.degree_work.title}}</td>
            <td>{{ item.number }}</td>
          </tr>
          {% endfor %}
        </tbody>
      </table>
    </div>
{% endblock content %}






