#include "all_entry_commons.html" />
<#assign displayBo=getFieldValueByCode( entry, "display_in_bo") == 'true'>
<#if canAddFile && url_download_bo??>
<@tform id='remove-file-comment' action='${action}' method='post' class='d-none'>
<@input type='hidden' name='action' value='removeFileComment' />
<@input type='hidden' name='id_entry' value='${entry.idEntry}' />
<@input type='hidden' name='_csrftoken' value='${(link_tokens.removeFileComment)!}' />
@tform>
#if>
<@editFields editor=true hasTitle=false required=false helpMessage=false multipart=true>
<@formGroup helpKey='#i18n{forms.create_entry.labelResponsesDisplayBoComment}' rows=2>
<@checkBox orientation='switch' labelFor='display_in_bo' labelKey='#i18n{forms.create_entry.labelResponsesDisplayBo}' name='display_in_bo' id='display_in_bo' value='1' checked=displayBo />
@formGroup>
<#if canAddFile>
<@formGroup labelFor='file' labelKey='#i18n{forms.create_entry.labelCommentFile}' helpKey='#i18n{forms.create_entry.labelCommentFileHelp}' rows=2>
<@input type='file' id='file' name='file' value='' />
<#if url_download_bo??>
<@div class='d-flex'>
<@link href=url_download_bo! title=filename! />
<@button type='submit' formId='remove-file-comment' title='#i18n{portal.util.labelDelete}' hideTitle=['all'] color='danger' buttonIcon='times' />
@div>
#if>
@formGroup>
#if>
@editFields>