<#escape x as x?html> <@tform method='post' action='jsp/admin/plugins/document/DoModifyDocument.jsp' enctype='multipart/form-data'> <@input type='hidden' name='id_document' value='${document.id}' /> <@input type='hidden' name='id_state' value='${id_state}' /> <@row> <@columns md=9> <@box> <@boxHeader title='#i18n{document.modify_document.title}'> <@btnGroup> <#noescape> <#if extendableResourceActionsHtml?? && extendableResourceActionsHtml?has_content> ${extendableResourceActionsHtml!} <@boxBody> <@formGroup labelFor='document_title' labelKey='#i18n{document.modify_document.labelDocumentTitle}' helpKey='#i18n{document.modify_document.helpDocumentTitle}' mandatory=true rows=2> <@input type='text' name='document_title' id='document_title' value='${document.title}' maxlength=255 /> <@formGroup labelFor='document_summary' labelKey='#i18n{document.modify_document.labelDocumentSummary}' helpKey='#i18n{document.modify_document.helpDocumentSummary}' mandatory=true rows=2> <@input type='textarea' name='document_summary' id='document_summary' rows=5>${document.summary} <@fieldSet legend='#i18n{document.modify_document.attributTitle}'> <#noescape>${fields} <@formGroup> <@button type='submit' title='#i18n{document.modify_document.buttonModify}' buttonIcon='edit' /> <@button type='button' params='onclick="javascript:window.history.back()"' title='#i18n{portal.admin.message.buttonCancel}' buttonIcon='times' color='default' /> <@columns md=3> <@box> <@boxHeader title='#i18n{document.create_document.advancedPropertiesTitle}'> <@button type='button' style='card-control collapse' buttonTargetId='#advPropertiesForm' buttonIcon='minus' size='sm' /> <@boxBody> <@fieldSet fieldsetId='advPropertiesForm'> <@formGroup labelKey='#i18n{document.create_document.labelDocumentValidity}' rows=2> <@staticText>#i18n{document.create_document.labelDocumentValidity}
<@formGroup labelFor='document_validity_begin' labelKey='#i18n{document.create_document.labelDocumentValidityBegin}' rows=2> <@inputGroup> <@inputGroupItem type='text'> <@icon style='calendar' /> <@input type='daterange' name='document_validity_begin' id='document_validity_begin' dateRangeEndId='document_validity_end' value='${date_validity_begin}' /> <@formGroup labelFor='document_validity_end' labelKey='#i18n{document.create_document.labelDocumentValidityEnd}' rows=2> <@inputGroup> <@inputGroupItem type='text'> <@icon style='calendar' /> <@input type='text' name='document_validity_end' id='document_validity_end' value='${date_validity_end}' />
<@formGroup labelFor='document_page_template' labelKey='#i18n{document.create_document.labelDocumentPageTemplate}' helpKey='#i18n{document.create_document.helpDocumentPageTemplate}' rows=2> <#noescape>${page_template_list} <@formGroup helpKey='#i18n{document.modify_document.helpSkipPortlet}' rows=2> <@checkBox labelFor='document_skip_portlet' labelKey='#i18n{document.modify_document.labelSkipPortlet}' name='document_skip_portlet' id='document_skip_portlet' checked=document.skipPortlet /> <@formGroup helpKey='#i18n{document.modify_document.helpSkipCategories}' rows=2> <@checkBox labelFor='document_skip_categories' labelKey='#i18n{document.modify_document.labelSkipCategories}' name='document_skip_categories' id='document_skip_categories' checked=document.skipCategories /> <@formGroup labelFor='document_comment' labelKey='#i18n{document.create_document.labelDocumentComment}' helpKey='#i18n{document.create_document.helpDocumentComment}' rows=2> <@input type='textarea' type='text' name='document_comment' id='document_comment' rows=2>${document.comment} <@box> <@boxHeader title='#i18n{document.list_category.boxTitle}'> <@button type='button' style='card-control collapse' buttonTargetId='#category' buttonIcon='minus' size='sm' /> <@boxBody> <@div id='category'> <#noescape>${category} <#if metadata?has_content> <@box> <@boxHeader title='#i18n{document.modify_document_type.labelMetadata}'> <@button type='button' style='card-control collapse' buttonTargetId='#metadata' buttonIcon='plus' size='sm' /> <@boxBody> <@div id='metadata'> <#noescape>${metadata} <#include "/admin/util/editor/editor.html" /> <@initEditor />