{% extends "freeadmin/generic_model_edit.html" %}

{% block buttons_extra %}
    <button id="FailoverSyncTo" data-dojo-type="dijit.form.Button" type="button">
        {% trans "Sync To Peer" %}
        <script type="dojo/method" data-dojo-event="onClick" data-dojo-args="evt">
            editObject('{% trans "Sync To Peer"|escapejs %}', '{% url "failover_sync_to_peer" %}', [this,]);
        </script>
    </button>

    <button id="FailoverSyncFrom" data-dojo-type="dijit.form.Button" type="button">
        {% trans "Sync From Peer" %}
        <script type="dojo/method" data-dojo-event="onClick" data-dojo-args="evt">
            editObject('{% trans "Sync From Peer"|escapejs %}', '{% url "failover_sync_from_peer" %}', [this,]);
        </script>
    </button>
{% endblock %}
