{% extends "freeadmin/generic_model_edit.html" %}
{% block post_form %}
    {% if form.instance.is_available.0 %}
        {% if form.instance.enabled is None %}
            <div style="padding-left: 10px;">
                As a Silver / Gold Support Coverage Level Customer, you have the option to enable the proactive support service which automatically alerts iXsystems (via email) when certain conditions arise on this TrueNAS system. The service can aid in the quick identification and resolution of potential issues that may occur on your system. Please indicate whether you would like to enable this service by saving the form below.
            </div>
        {% endif %}
        {{ block.super }}
    {% else %}
        <div style="padding-left: 10px;">
            Call iXsystems to upgrade to Silver/Gold support.
        </div>
    {% endif %}
{% endblock %}
{% block buttons %}
{% if form.instance.is_available.0 %}
{{ block.super }}
{% endif %}
{% endblock %}
