{% extends "students/base.html" %}

{% block student_content %}
	<h2>Students</h2>
	<div id="container">
        <h3>Всего студентов: {{ students|length }}</h3>
        <!--{{ students.0.name }}-->
		<ol>
            {% for student in students %}
			<!--<li><a href="/students/{{ student.id }}/">{{ student.name }}</a></li>-->
			<li><a href="{% url 'students_item' student_id=student.id %}">{{ student.name }}</a></li>
            {% endfor %}
		</ol>
	</div>
{% include "students/footer.html" with name="list" %}
{% endblock %}