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
53 lines (41 loc) · 1.6 KB
/
Copy pathfe_editor.html
File metadata and controls
53 lines (41 loc) · 1.6 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
48
49
50
51
52
53
{% extends "admin/change_form.html" %}
{% load feincms_compat_tags i18n admin_modify adminmedia %}
{% block extrahead %}{{ block.super }}
{% if FEINCMS_ADMIN_MEDIA_HOTLINKING %}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script>
{% else %}
<script type="text/javascript" src="{{ FEINCMS_ADMIN_MEDIA }}jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="{{ FEINCMS_ADMIN_MEDIA }}jquery-ui-1.8.7.custom.min.js"></script>
{% endif %}
<script type="text/javascript" src="{{ FEINCMS_ADMIN_MEDIA }}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="{{ FEINCMS_ADMIN_MEDIA }}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 %}