{% extends "sora/usercp/layout.html" %} {% load i18n %} {% load url from future %} {% import "_forms.html" as form_theme with context %} {% import "sora/editor.html" as editor with context %} {% import "sora/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=_('Edit your Signature')) }}{% endblock %} {% block action %}

{% trans %}Edit your Signature{% endtrans %}

{% if message %}{{ macros.draw_message(message, 'alert-form') }}{% endif %} {% if user.signature_preparsed %}
{{ user.signature_preparsed|safe }}
{% endif %}
{{ editor.editor(form.fields.signature, _('Save Signature'), hide_links=(not acl.usercp.allow_signature_links()), hide_images=(not acl.usercp.allow_signature_images()), hide_hr=True) }}
{% endblock %} {% block javascripts %} {{ super() }} {{ editor.js() }} {% endblock %}