#include "macro_helpdesk.html" />
<@row>
<@columns offsetMd=1 md=8>
<@box color='primary' >
<@boxHeader title='#i18n{helpdesk.modify_theme.boxTitle}' skipHeader=true />
<@boxBody>
<@tform name="do_modify_theme" action="jsp/admin/plugins/helpdesk/DoModifyTheme.jsp">
<@input type="hidden" value="${faq_id}" name="faq_id" />
<@input type="hidden" value="${theme.id}" name="theme_id" />
<@formGroup labelFor='theme' labelKey='#i18n{helpdesk.modify_theme.LabelTheme}' mandatory=true >
<@input type='text' id='theme' name='theme' value='${theme.text!}' maxlength=50 />
@formGroup>
<@formGroup labelFor='mailinglists' labelKey='#i18n{helpdesk.modify_theme.LabelMailingList}' mandatory=true >
<#if mailing_list?has_content>
<@select id='mailinglists' name='mailinglists' default_value=theme.idMailingList?string items=mailing_list />
<#else>
<@formHelp>#i18n{helpdesk.modify_theme.messageNotificationListNotExist}@formHelp>
#if>
@formGroup>
<@formGroup labelFor='parent_id' labelKey='#i18n{helpdesk.create_subject.LabelParent}' mandatory=true >
<@select id='parent_id' name='parent_id' default_value='' items=''>
<#assign isSelected><#if theme.idParent==0>true<#else>false#if>#assign>
<@option value='0' label='#i18n{helpdesk.commonList.rootAbstractSubjectName}' selected=isSelected?boolean />
<@themesList items=helpdesk_theme_list default_value='${theme.idParent}' exclude_value='${theme.id}' depth=0 />
@select>
@formGroup>
<@formField>
<@columns offsetSm=3>
<@button title='#i18n{helpdesk.modify_theme.buttonLabelModify}' buttonIcon='check' size='sm' type='submit' />
<@aButton href='jsp/admin/plugins/helpdesk/ManageHelpdeskAdmin.jsp?faq_id=${faq_id}' color='secondary' title='#i18n{portal.util.labelBack}' buttonIcon='undo' size='sm' />
@columns>
@formField>
@tform>
@boxBody>
@box>
@columns>
@row>