<#include "/admin/util/editor/editor.html" /> <#include "macro_helpdesk.html" /> <#include "/admin/util/editor/editor.html" /> <#include "macro_helpdesk.html" /> <@pageContainer> <@pageColumn> <@pageHeader title='${faq_name} - #i18n{helpdesk.modify_question_answer.adminTitle}' /> <@tform name='create_subject' action='jsp/admin/plugins/helpdesk/DoModifyQuestionAnswer.jsp' boxed=true id='create_edit_question_answer_page'> <@input type='hidden' value='${faq_id}' name='faq_id' /> <@input type='hidden' name='question_id' value='${question_answer.idQuestionAnswer}' /> <@formGroup labelFor='subject_id' labelKey='#i18n{helpdesk.create_question_answer.LabelSubject}' mandatory=true > <@select id='subject_id' name='subject_id'> <@subjectsList items=helpdesk_subject_list default_value="${question_answer.idSubject}" exclude_value="" depth=0 /> <@formGroup labelFor='question' labelKey=' #i18n{helpdesk.create_question_answer.LabelQuestion}' mandatory=true > <@input type='textarea' id='question' name='question' richtext=true value='${question_answer.question}' /> <@formGroup labelFor='html_content' labelKey=' #i18n{helpdesk.create_question_answer.LabelAnswer}' mandatory=true > <@input type='textarea' id='html_content' name='html_content' richtext=true value='${html_content}' rows=15/> <@formGroup> <#assign isChecked><#if checked='checked'>true<#else>false <@checkBox name='status' id='status' labelKey='#i18n{helpdesk.create_question_answer.LabelStatus}' orientation='switch' value='1' checked=isChecked?boolean /> <@formGroup> <@button title='#i18n{helpdesk.modify_question_answer.buttonLabelModify}' buttonIcon='device-floppy' type='submit' /> <@aButton href='jsp/admin/plugins/helpdesk/QuestionAnswerList.jsp?faq_id=${faq_id}' color='secondary' title='#i18n{portal.util.labelBack}' buttonIcon='x' /> <@aButton class='btn-danger' href='jsp/admin/plugins/helpdesk/ConfirmRemoveQuestionAnswer.jsp' title='#i18n{helpdesk.modify_question_answer.buttonLabelDelete}' buttonIcon='trash' /> <@initEditor />