{% extends "base.html" %} {% block content %} <h2>Редактировать комментарий к новости</h2> <h3>{{ comment.news.title }}</h3> <form class="form-horizontal" method="post"> {% csrf_token %} {% include "includes/errors.html" %} {% for field in form %} {{ field }} {% endfor %} <div class="form-actions"> <button type="submit" class="btn btn-primary" >Сохранить</button> </div> </form> {% endblock %}