#include "/admin/util/editor/editor.html" />
<@pageContainer>
<@pageColumn>
<@pageHeader title='#i18n{appointment.task_notify_appointment_comment_config.title} : #i18n{appointment.notificationType.${config.type}}' />
<@messages errors=errors infos=infos />
<@tform id='formid' method='post' action='jsp/admin/plugins/appointment/NotificationCommentConfig.jsp' boxed=true>
<@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-1">#i18n{appointment.task_notify_appointment_comment_config.label_message_comment} :@p>
<@table>
| #i18n{appointment.task_notify_appointment_comment_config.label_comment} | <@span class='copy-content'>${r"${comment!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_form_title} | <@span class='copy-content'>${r"${form_title!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_creator_user_name} | <@span class='copy-content'>${r"${creator_user_name!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_date_end_validity} | <@span class='copy-content'>${r"${date_end_validity!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_time_end_validityt} | <@span class='copy-content'>${r"${time_end_validity!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_date_start_validity} | <@span class='copy-content'>${r"${date_start_validity!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_time_start_validity} | <@span class='copy-content'>${r"${time_start_validity!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_creation_date} | <@span class='copy-content'>${r"${creation_date!}"}@span> |
| #i18n{appointment.task_notify_appointment_comment_config.label_form_id} | <@span class='copy-content'>${r"${form_id!}"}@span> |
@table>
@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}' />
<@button type='submit' name='view_notificationConfig' buttonIcon='arrow-left' title='#i18n{portal.util.labelCancel}' color='light' cancel=true />
@tform>
@pageColumn>
@pageContainer>
<@initEditor />
<@copyElementToClipboard />