deeily 5024bf9a8d init: full mail stack — phases 0..8 (web client, admin, IMAP/SMTP,
sieve, search, sessions, dramatiq, deploy/install, ELK, monitoring)
2026-04-29 16:30:43 +03:00

27 lines
1.3 KiB
HTML

{% extends 'layout/base.html' %}
{% block title %}{{ 'Редактировать группу' if group else 'Новая группа' }}{% endblock %}
{% block body %}
<div class="content" style="max-width:640px">
<div class="card">
<div class="card-head"><div class="card-title">{{ 'Редактировать группу' if group else 'Новая группа' }}</div></div>
<form method="post">
<div class="card-body">
{% if error %}<div class="flash flash-err">{{ error }}</div>{% endif %}
<div class="form-row">
<label>Название</label>
<input type="text" name="name" value="{{ group.name if group else '' }}" required>
</div>
<div class="form-row">
<label>Участники (по одному email в строке)</label>
<textarea name="members" rows="8" style="font-family:monospace">{{ group.members|join('\n') if group else '' }}</textarea>
</div>
</div>
<div class="card-head" style="border-top:0.5px solid var(--color-border-tertiary);border-bottom:none;justify-content:flex-end">
<a class="btn" href="{{ url_for('groups.index') }}">Отмена</a>
<button type="submit" class="btn btn-primary">Сохранить</button>
</div>
</form>
</div>
</div>
{% endblock %}