Исправлена ошибка парсинга шаблона в user_role_edit.html - добавлены пробелы вокруг оператора == и убран перенос строки внутри тега if
This commit is contained in:
@@ -48,8 +48,7 @@
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="is_active" name="is_active" {% if
|
||||
user_role.is_active %}checked{% endif %}>
|
||||
<input class="form-check-input" type="checkbox" id="is_active" name="is_active" {% if user_role.is_active %}checked{% endif %}>
|
||||
<label class="form-check-label" for="is_active">
|
||||
Активен
|
||||
</label>
|
||||
|
||||
Reference in New Issue
Block a user