PageRenderTime 75ms CodeModel.GetById 36ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/src/baruwa/templates/lists/add.form.html

https://bitbucket.org/datopdog/baruwa
HTML | 35 lines | 35 code | 0 blank | 0 comment | 0 complexity | 11830508276598a22e4b653e34642ded MD5 | raw file
Possible License(s): GPL-2.0
 1{% load i18n %}
 2    <form id="list-form" method="post" action="/lists/add/">
 3    <div class="LightBlue_div">
 4        <div class="form_label">{% trans "From address:" %}</div>
 5        <div class="form_value">
 6            {{ form.from_address }}
 7        </div>
 8        <div class="form_error">{{ form.from_address.errors }}</div>
 9    </div>
10    <div class="LightBlue_div">
11        <div class="form_label">{% trans "To address:" %}</div>
12        <div class="form_value">
13            {% if form.user_part %}{{ form.user_part }}&nbsp;&#64;&nbsp;{% endif %}{{ form.to_address }}
14        </div>
15        <div class="form_error">
16            {{ form.to_address.errors }}
17            {{ form.user_part.errors }}
18        </div>
19    </div>
20    <div class="LightBlue_div">
21        <div class="form_label">{% trans "List type:" %}</div>
22        <div class="form_value">
23            {{ form.list_type }}
24        </div>
25        <div class="form_error">{{ form.list_type.errors }}</div>
26    </div>
27    <div class="LightBlue_div">
28        <div class="form_label">&nbsp;</div>
29        <div class="form_value">
30            <input id="cancel-button" type="reset" value="{% trans "Reset" %}" />&nbsp;
31            <input id="submit-button" type="submit" value="{% trans "Add" %}" />
32        </div>
33        <div class="form_error"></div>
34    </div>
35    </form>