src/cm/templates/site/text_edit.html
author rbernard
Fri, 12 Feb 2010 21:58:53 +0100
changeset 172 9a355903350d
parent 160 0c01050f9717
child 230 fb1a2dfb473d
permissions -rw-r--r--
renaming variables

{% extends "site/layout/base_text.html" %}
{% load i18n %}
{% load com %}

{% block head %}
<script type="text/javascript" src="{{ CM_MEDIA_PREFIX }}js/site/text_edit.js"></script>
{% endblock %}

{% block main %}
    {% include "site/macros/text_editor.html" %}

<script type="text/javascript">
<!--
tb_conf['current_tab'] = 'edit';
// keep get parameters!! 
tb_conf['pre_edit_url'] = '{% url text-preedit text.key %}?{{ request.GET.urlencode }}';
-->
</script>

<div style="display: none;">
    <div id="confirm_all_removed_dlg"></div>
    <div id="remove_scope_choice_dlg"></div>
</div>

<div id="text_edit" class="tab-meta">
<form id="edit_form" class="text-form wizard-form" action="." method="post">
    <table class="wide_form">
        <tbody>
            {% include "site/macros/form_fields.html" %}
    <tr>
        <td style="vertical-align: top; width: 20%; text-align:right;">
        </td>
        <td>
            <label></label>
            <input name="cancel_modified_scopes" id="cancel_modified_scopes" type="hidden"/>            
            <input name="save" id="save" type="button" value="{% blocktrans %}Save{% endblocktrans %}"/>            
        </td>
    </tr>
        </tbody>
    </table>
</form>
</div>

{% endblock %}