#include "/admin/util/editor/editor.html" />
<@pageContainer>
<@pageColumn>
<@pageHeader title='#i18n{appointment.task_notify_appointment_comment_config.title} ${config.type}' />
<@messages errors=errors infos=infos />
<@tform id='formid' method='post' action='jsp/admin/plugins/appointment/NotificationCommentConfig.jsp'>
<@row>
<@columns xs=12 sm=5>
<@formGroup labelFor='sender_name' labelKey='#i18n{appointment.task_notify_appointment_comment_config.label_sender_name}' helpKey='#i18n{appointment.task_notify_appointment_comment_config.label_sender_name_comment}' mandatory=true>
<@input type='text' name='sender_name' id='sender_name' value='${config.senderName!}' maxlength=255 />
@formGroup>
<@formGroup labelFor='subject' labelKey='#i18n{appointment.task_notify_appointment_comment_config.label_subject}' mandatory=true>
<@input type='text' name='subject' id='subject' value='${config.subject}' maxlength=255 />
@formGroup>
@columns>
<@columns xs=12 sm=7>
<@p class="mb-0">#i18n{appointment.task_notify_appointment_comment_config.label_message_comment} :@p>
<@ul>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_comment} : <@span class='copy-content ms-auto'>${r"${comment!}"}@span>@li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_form_title} : <@span class='copy-content ms-auto'>${r"${form_title!}"}@span> @li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_creator_user_name} : <@span class='copy-content ms-auto'>${r"${creator_user_name!}"}@span>@li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_date_end_validity} : <@span class='copy-content ms-auto'>${r"${date_end_validity!}"}@span>@li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_time_end_validityt} : <@span class='copy-content ms-auto'>${r"${time_end_validity!}"}@span>@li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_date_start_validity} : <@span class='copy-content ms-auto'>${r"${date_start_validity!}"}@span>@li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_time_start_validity} : <@span class='copy-content ms-auto'>${r"${time_start_validity!}"}@span>@li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_creation_date} : <@span class='copy-content ms-auto'>${r"${creation_date!}"}@span>@li>
<@li class='d-flex fs-6 w-100 align-items-center'>#i18n{appointment.task_notify_appointment_comment_config.label_form_id} : <@span class='copy-content ms-auto'>${r"${form_id!}"}@span>@li>
@ul>
@columns>
@row>
<@formGroup labelFor='message' labelKey='#i18n{appointment.task_notify_appointment_comment_config.label_message}' mandatory=true>
<@input type='textarea' richtext=true name='message' rows=20 cols=90>${(config.message)!}@input>
@formGroup>
<@button type='submit' name='action_updateNotificationCommentConfig' buttonIcon='check' title='#i18n{portal.util.labelModify}' class='form-validation' />
<@button type='submit' name='view_notificationConfig' buttonIcon='arrow-left' title='#i18n{portal.util.labelCancel}' color='secondary' cancel=true class='form-validation' />
@tform>
@pageColumn>
@pageContainer>
<@initEditor />
<@copyElementToClipboard />