{% extends "freeadmin/generic_model_edit.html" %}
{% block post_form %}
{{ block.super }}
<script type="dojo/method">
addToStack(function() {
    document.getElementById("id_afp_timemachine").onchange = afpTimemachineToggle;
    afpTimemachineToggle();
});
</script>
{% endblock %}