<@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>

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