Use a single domain form

This commit is contained in:
Pierre Jaury
2016-03-22 21:22:49 +01:00
parent 22c095aef4
commit 96ee0ea45d
5 changed files with 25 additions and 16 deletions

View File

@@ -1,5 +1,15 @@
{% extends "form.html" %}
{% extends "base.html" %}
{% block title %}
New domain
{% endblock %}
{% block box_content %}
<form class="form" method="post" role="form">
{{ form.hidden_tag() }}
{{ macros.form_field(form.name) }}
{{ macros.form_fields((form.max_users, form.max_aliases)) }}
{{ macros.form_field(form.comment) }}
{{ macros.form_field(form.submit) }}
</form>
{% endblock %}

View File

@@ -1,4 +1,4 @@
{% extends "form.html" %}
{% extends "domain/create.html" %}
{% block title %}
Edit domain