2021-09-08 22:08:22 +00:00
|
|
|
{% extends 'components/inline_form.html' %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
{% trans "Add domain" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block form %}
|
|
|
|
<form name="add-domain" method="post" action="{% url 'settings-email-blocks' %}">
|
|
|
|
{% csrf_token %}
|
2021-09-08 22:30:18 +00:00
|
|
|
<label class="label" for="id_event_date">{% trans "Domain:" %}</label>
|
|
|
|
<div class="field has-addons">
|
|
|
|
<div class="control">
|
|
|
|
<div class="button is-disabled">@</div>
|
|
|
|
</div>
|
|
|
|
<div class="control">
|
|
|
|
{{ form.domain }}
|
|
|
|
</div>
|
2021-09-08 22:08:22 +00:00
|
|
|
</div>
|
2021-09-08 22:30:18 +00:00
|
|
|
{% for error in form.domain.errors %}
|
|
|
|
<p class="help is-danger">{{ error | escape }}</p>
|
|
|
|
{% endfor %}
|
2021-09-08 22:08:22 +00:00
|
|
|
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<button type="submit" class="button is-primary">{% trans "Add" %}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|