<div class="form-group mb-0">
    {if isset($sensitiveDataEnabled) && $sensitiveDataEnabled && $loggedin}
        <div class="alert alert-sm alert-danger {if (is_array($sensitiveDataSupportDepartmentsEnabled) && $sensitiveDataSupportDepartmentsEnabled[$deptid] == 0)}hidden{/if}" data-message-tab-alert><i class="ls ls-denial"></i><span>{$sensitiveDataTranslations->getClientTranslation("open_ticket.alert_message_tab")|unescape:'html'}</span></div>
    {/if}
    <textarea data-md-lang-continue="{$rslang->trans('support.continue_editing')}" name="message" data-knowledgebase-ticket-message class="form-control markdown-editor" data-auto-save-name="client_ticket_open">{$message}</textarea>
</div>
<div class="form-group mb-0">
    <div class="attachements-container">
        <div role="button" tabindex="0" class="add add-extra-attachement" data-nofiletext="{$rslang->trans('support.no_file_selected')}" data-selectfiletext="{$rslang->trans('support.select_file')}" data-removetext="{$LANG.orderForm.remove}">
            <i>{include file="$template/assets/img/attachments-icon.svg"}</i>
            <span>{$rslang->trans('support.attachements_tab.add')}</span>
        </div>
        <div role="button" tabindex="0" class="attachements-uploads hidden" id="fileUploadsContainer">
            <i>{include file="$template/assets/img/attachments-icon.svg"}</i>
            <button tabindex="0" type="button" class="btn btn-xs btn-primary-faded add-extra-attachement" data-nofiletext="{$rslang->trans('support.no_file_selected')}" data-selectfiletext="{$rslang->trans('support.select_file')}" data-removetext="{$LANG.orderForm.remove}">{$LANG.addmore}</button>
        </div>
    </div>
    <p class="ticket-attachments-message">
        {include file="$template/assets/img/help-icon-ticket.svg"}
        {$LANG.supportticketsallowedextensions}: {$allowedfiletypes} ({lang key="maxFileSize" fileSize="$uploadMaxFileSize"})
    </p>
</div>