{% extends ponyglot_base %} {% load i18n static %} {% comment %}Extends the admin's own change form (tabbed admins included) with the button and, when translations wait, the suggestions next to their fields.{% endcomment %} {% block extrastyle %}{{ block.super }}{% if ponyglot_form %} {% endif %} {% endblock %} {% block object-tools-items %}
  • {% translate "Ponyglot translations" %}{% if ponyglot_waiting %} ({{ ponyglot_waiting }}){% endif %}
  • {{ block.super }} {% endblock %} {% block admin_change_form_document_ready %}{{ block.super }}{% if ponyglot_form %} {{ ponyglot_form|json_script:"ponyglot-suggestions" }} {% endif %} {% endblock %}