#include "macro_helpdesk.html" />
<@row>
<@columns offsetMd=2 md=6>
<@box color='primary' >
<@boxHeader title='#i18n{helpdesk.create_subject.adminTitle}' skipHeader=true />
<@boxBody>
<@tform name="create_subject" action="jsp/admin/plugins/helpdesk/DoCreateSubject.jsp">
<@input type="hidden" value="${faq_id}" name="faq_id" />
<@formGroup labelFor='subject' labelKey='#i18n{helpdesk.create_subject.LabelSubject}' mandatory=true >
<@input type='text' id='subject' name='subject' maxlength=50 />
@formGroup>
<@formGroup labelFor='parent_id' labelKey='#i18n{helpdesk.create_subject.LabelParent}' mandatory=true >
<@select id='parent_id' name='parent_id' default_value='' items=''>
<@option value='0' label='#i18n{helpdesk.commonList.rootAbstractSubjectName}' />
<@subjectsList items=helpdesk_subject_list default_value=default_value?string exclude_value='' depth=0 />
@select>
@formGroup>
<@formField>
<@columns offsetSm=3>
<@button title='#i18n{helpdesk.create_subject.buttonLabelCreate}' buttonIcon='check' size='sm' type='submit' />
<@aButton href='jsp/admin/plugins/helpdesk/SubjectsList.jsp?faq_id=${faq_id}' color='secondary' title='#i18n{portal.util.labelBack}' buttonIcon='undo' size='sm' />
@columns>
@formField>
@tform>
@boxBody>
@box>
@columns>
@row>