<@form.fields name="descriptionfields" disabled=!permissions.domainDescriptionControlAllowed>
    <div>
        <label for="d-m-desc"><@i18n.message key="Description.label.desc" /></label>
            <#if permissions.domainDescriptionControlAllowed>
                <textarea id="d-m-desc" name="description" rows="10" cols="80" wrap="soft"></textarea>
            <#else>
                <textarea id="d-m-desc" name="description" rows="10" cols="80" readonly="readonly"></textarea>
            </#if>
    </div>

    <#if permissions.domainDescriptionControlAllowed>
        <div class="viewpane-toolbar toolbar-management">
            <@form.button name="apply"><@i18n.message "Application.button.apply" /></@>
            <@form.button name="discard"><@i18n.message "Application.button.discard" /></@>
        </div>
    </#if>
</@form.fields>
