{% extends "base.html" %} {% block title %}{{ 'Редактирование' if document else 'Создание' }} КС-2{% endblock %} {% block content %}