#include "all_entry_commons.html" />
<#assign displayBo=getFieldValueByCode( entry, "display_in_bo") == 'true'>
<@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! />
<@aButton href='${action}?action=removeFileComment&id_entry=${entry.idEntry}' hideTitle=['all'] color='danger' buttonIcon='times' />
@div>
#if>
@formGroup>
#if>
@editFields>