cremcrem2devdev2diademsformagenericinstru_searchlamnlivemultiproductionrelease/1.4.4securitysocialstoragetest
|
Last change
on this file since 0073410 was
0073410,
checked in by yomguy <yomguy@…>, 15 months ago
|
|
add postman templates
|
-
Property mode set to
100644
|
|
File size:
936 bytes
|
| Line | |
|---|
| 1 | {% extends "postman/base.html" %} |
|---|
| 2 | {% load i18n %} |
|---|
| 3 | {% block extrahead %}{{ block.super }} |
|---|
| 4 | {% if is_autocompleted %} |
|---|
| 5 | {# using the available admin jQuery is enough #} |
|---|
| 6 | <script type="text/javascript" src="{% load adminmedia %}{% admin_media_prefix %}js/jquery.min.js"></script> |
|---|
| 7 | {# <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.min.js"></script> #} |
|---|
| 8 | <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.autocomplete.min.js"></script> |
|---|
| 9 | <link href="{{ MEDIA_URL }}css/jquery.autocomplete.css" type="text/css" media="all" rel="stylesheet" /> |
|---|
| 10 | {% endif %} |
|---|
| 11 | {% endblock %} |
|---|
| 12 | {% block content %} |
|---|
| 13 | <div id="postman"> |
|---|
| 14 | <h1>{% block pm_write_title %}{% endblock %}</h1> |
|---|
| 15 | <form action="{% if next_url %}?next={{ next_url|urlencode }}{% endif %}" method="post">{% csrf_token %} |
|---|
| 16 | <table> |
|---|
| 17 | {% block pm_write_recipient %}{% endblock %} |
|---|
| 18 | {{ form.as_table }} |
|---|
| 19 | </table> |
|---|
| 20 | <button type="submit">{% trans "Send" %}</button> |
|---|
| 21 | </form> |
|---|
| 22 | </div> |
|---|
| 23 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.