{% load i18n %}
{% block form %}
    <form class="inplaceeditform {% block formclass %}{% endblock %}{{ class_inplace }}" action="{{ inplace_save_url }}" enctype=multipart/form-data>
        <div class="form-group">
            {{ field }}
        </div>
        <span class="field_id" style="display:none">{{ field.auto_id }}</span>
        {% block actions %}
            {% block apply %}
                <a href="#" class="apply {% block classapply %}{% endblock %}" title="{% trans "Apply change" %}">
                    <span class="glyphicon glyphicon-ok"></span>
                </a>
            {% endblock %}
            {% block cancel %}
                <a href="#" class="cancel {% block classcancel %}{% endblock %}" title="{% trans "Cancel change" %}">
                    <span class="glyphicon glyphicon-remove"></span>
                </a>
            {% endblock %}
        {% endblock %}
    </form>
{% endblock %}