{% load i18n future staticfiles %}

{% if has_site_permission %}
<link rel="stylesheet" href="{% static " wenlincms/css/editable.css" %}">
{{ richtext_media|safe }}
<script>
    {%
        url
        "fb_browse" as fb_browse_url %
    }
    {%
        url
        "static_proxy" as static_proxy_url %
    }
    {%
        get_current_language as LANGUAGE_CODE %
    }
    window.__wlfilebrowser_url = '{{ fb_browse_url }}';
    window.__toolbar_html = '{{ toolbar|escapejs }}';
    window.__static_proxy = '{{ static_proxy_url }}';
    window.__language_code = '{{ LANGUAGE_CODE }}';
    window.__tinymce_css = '{% static "wenlincms/css/tinymce.css" %}';
</script>
<script src="{% static " wenlincms/js/jquery.tools.toolbox.expose.js" %}"></script>
<
script
src = "{% static "
wenlincms / js / jquery.tools.overlay.js
" %}" ></script>
<script src="{% static " wenlincms/js/jquery.form.js" %}"></script>
<
script
src = "{% static "
wenlincms / js / editable.js
" %}" ></script>
{% endif %}
