forked from feincms/feincms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfe_editor.html
More file actions
47 lines (36 loc) · 1.28 KB
/
Copy pathfe_editor.html
File metadata and controls
47 lines (36 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{% extends "admin/change_form.html" %}
{% load i18n admin_modify %}
{% block extrahead %}{{ block.super }}
<script type="text/javascript" src="{{ STATIC_URL }}feincms/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}feincms/jquery-ui-1.8.22.custom.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}feincms/jquery.alerts.js"></script>
<script type="text/javascript">
var feincms = {
{% if FEINCMS_JQUERY_NO_CONFLICT %}
"jQuery": jQuery.noConflict(true)
{% else %}
"jQuery": jQuery
{% endif %}
};
</script>
<script type="text/javascript" src="{{ STATIC_URL }}feincms/item_editor.js"></script>
{% include "admin/feincms/_messages_js.html" %}
{% include "admin/feincms/_regions_js.html" %}
{% for inc in object.feincms_item_editor_includes.head %}{% include inc %}{% endfor %}
{% endblock %}
{% block content %}
<div class="content_main" id="frontend_editor">
<form method="post" action=".">
{% csrf_token %}
<div>
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
<table>
{{ form }}
</table>
<div class="submit-row" >
<input type="submit" value="{% trans "Save" %}" class="default" name="_save" />
</div>
</div>
</form>
</div>
{% endblock %}