mailcow/data/web/templates/edit.twig

33 lines
1008 B
Twig
Raw Normal View History

{% extends 'base.twig' %}
{% block content %}
2022-10-11 19:20:49 +02:00
<a href="{{ return_to }}">&#8592; {{ lang.edit.previous }}</a>
<div class="row my-4">
<div class="col-md-12">
2022-03-31 11:37:14 +02:00
<div class="card">
2022-10-11 11:41:06 +02:00
<div class="card-header fs-5">
<span>{{ lang.edit.title }}</span>
</div>
2022-03-31 11:37:14 +02:00
<div class="card-body">
{% block inner_content %}
{% if access_denied %}
<div class="alert alert-danger" role="alert">{{ lang.danger.access_denied }}</div>
{% else %}
<div class="alert alert-info" role="alert">{{ lang.info.no_action }}</div>
{% endif %}
{% endblock %}
</div>
</div>
</div>
</div>
<a href="{{ return_to }}">&#8592; {{ lang.edit.previous }}</a>
<script type='text/javascript'>
var lang_user = {{ lang_user|raw }};
var lang_datatables = {{ lang_datatables|raw }};
var csrf_token = '{{ csrf_token }}';
var pagination_size = Math.trunc('{{ pagination_size }}');
var table_for_domain = '{{ domain }}';
</script>
{% endblock %}