{% macro create(optionName, permission, inputId) %}

    {% set inline = getMetadata(optionName, 'INLINE')|join(' ') %}
    {% set description = getMetadata(optionName, 'DESCRIPTION') %}
    {% set angularAttributes = getMetadata(optionName, 'ANGULAR_ATTRIBUTES') %}
    {% set verificationStatus = '{{ verificationStatus }}' %}
    {% set newNetwork = isOnNetworkDashboard() %}
    {% set disabled = "" %}

    {% if  newNetwork %}
        {% if not angularAttributes is empty %}
            {% set angularAttributes = angularAttributes ~ ' && (0))"' %}
        {% endif %}
    {% else %}

        {% if permission == 2 or permission == 1 %}
            {% set  disabled = "disabled" %}
        {% else %}
            {% set disabled = "" %}
        {% endif %}

        {% if not angularAttributes is empty %}
            {% set angularAttributes = angularAttributes ~ '&& (1))"' %}
        {% endif %}
    {% endif %}

    <div ng-hide="option.verification_status_message == ''">
        <code>
            <span ng-bind="option.verification_status_message"></span><span ng-hide="option.verification_status_message == 'Verification failed.'" ng-bind="option.domain_sid"></span>
        </code>
    </div>
    
    <p>{% import "option/element/description.twig" as descriptionElement %}
        {{ descriptionElement.create(description) }}</p>

{% endmacro %}