41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
{% extends "administration/base.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load utils %}
|
|
{% load static %}
|
|
|
|
{% block head %}
|
|
{{ block.super }}
|
|
{{ form.media.css }}
|
|
<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/actions.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/urlify.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/prepopulate.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/SelectBox.js' %}"></script>
|
|
<script type="text/javascript" src="{% static 'admin/js/SelectFilter2.js' %}"></script>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
{% block above_form %}
|
|
{% endblock %}
|
|
<div class="">
|
|
<form action="" method="post" class="form-horizontal">
|
|
{% include 'partials/form.html' with form=form %}
|
|
<a class="btn btn-default" href="{% back %}">{% trans "Cancel" %}</a>
|
|
<input type="submit" class="btn btn-primary" value="{% block action %}{% endblock %}" />
|
|
</form>
|
|
</div>
|
|
{% block beneath_form %}
|
|
{% endblock %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{{ block.super }}
|
|
{{ form.media.js }}
|
|
{% endblock %}
|