Исправлена ошибка парсинга шаблона в user_role_edit.html - добавлены пробелы вокруг оператора == и убран перенос строки внутри тега if

This commit is contained in:
2026-01-06 18:35:21 +03:00
parent 80067e68ad
commit 52d5f6fd9f

View File

@@ -48,8 +48,7 @@
<div class="mb-3"> <div class="mb-3">
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="checkbox" id="is_active" name="is_active" {% if <input class="form-check-input" type="checkbox" id="is_active" name="is_active" {% if user_role.is_active %}checked{% endif %}>
user_role.is_active %}checked{% endif %}>
<label class="form-check-label" for="is_active"> <label class="form-check-label" for="is_active">
Активен Активен
</label> </label>