<#include "/admin/util/editor/editor.html" /> <#include "macro_helpdesk.html" /> <@row> <@columns offsetMd=1 md=8> <@box color='primary' > <@boxHeader title='#i18n{helpdesk.create_question_answer.adminTitle}' skipHeader=true /> <@boxBody> <@tform name="create_subject" action="jsp/admin/plugins/helpdesk/DoCreateQuestionAnswer.jsp"> <@input type="hidden" value="${faq_id}" name="faq_id" /> <#if theme_id??><@input type="hidden" value="${theme_id}" name="theme_id" /> <@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="${default_value}" 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 /> <@formGroup labelFor='html_content' labelKey=' #i18n{helpdesk.create_question_answer.LabelAnswer}' mandatory=true > <@input type='textarea' id='html_content' name='html_content' richtext=true /> <@formField> <@columns offsetSm=3> <@checkBox name='status' id='status' labelKey='#i18n{helpdesk.create_question_answer.LabelStatus}' orientation='switch' value='1' /> <@formField> <@columns offsetSm=3> <@button title='#i18n{helpdesk.create_subject.buttonLabelCreate}' buttonIcon='check' size='sm' type='submit' /> <@aButton href='jsp/admin/plugins/helpdesk/QuestionAnswerList.jsp?faq_id=${faq_id}' color='secondary' title='#i18n{portal.util.labelBack}' buttonIcon='undo' size='sm' /> <@initEditor />