{% load i18n %} {% comment %} One layout fieldset (`item`). With a save button, it is wrapped with the button in a container the JS replaces after saving; keep its id, the data-fieldset-save-url attribute and the data-fieldset-save button. {% endcomment %} {% with fieldset=item.fieldset %} {% if item.save_url %}