@row>
<@columns sm=6>
<@tabs>
<@tabList>
<@tabLink active=true href='#use_categories' title='#i18n{module.newsletter.blog.modify_document_topic.radioUseCategories}' />
<@tabLink href='#use_portlets' title='#i18n{module.newsletter.blog.modify_document_topic.radioUsePortlets}' />
@tabList>
<@tabContent>
<@tabPanel id='use_categories' active=true >
<#if category_list?has_content>
<@formGroup labelFor='category_list_id' labelKey='#i18n{module.newsletter.blog.modify_document_topic.categoryList}'>
<@select name='category_list_id' multiple=20 >
<#list category_list as item>
<@option value=item.code label=item.name selected=item.checked />
#list>
@select>
@formGroup>
<#else>
<@empty title='#i18n{module.newsletter.blog.modify_document_topic.labelNoCategory}' subtitle=' ' />
#if>
@tabPanel>
<@tabPanel id='use_portlets'>
<#if document_list_portlets?has_content>
<@formGroup labelFor='portlets_id' labelKey='#i18n{module.newsletter.blog.modify_document_topic.portletList}'>
<@select name='portlets_id' multiple=20 >
<#list document_list_portlets as item>
<@option value=item.id label=item.name selected=portlets_associated_topic?seq_contains(item.id) />
#list>
@select>
@formGroup>
<#else>
<@empty title='#i18n{module.newsletter.document.modify_document_topic.labelNoPortlet}' subtitle=' ' />
#if>
@tabPanel>
@tabContent>
@tabs>
@columns>
<@columns>
<#if templates_list?has_content>
<@formGroup labelKey='#i18n{module.newsletter.blog.modify_document_topic.templatesList}' labelFor='template_id' helpKey='#i18n{module.newsletter.blog.modify_document_topic.templatesHelp}'>
<@ul>
<#assign nIndex=1>
<#assign templateIterator = 0>
<#list templates_list as template >
<@li class="d-flex">
<@radioButton labelFor='template_id_${nIndex}' class='radio-image' id='template_id_${nIndex}' name='template_id' value='${template.id}' checked=template.id=newsletterDocument.idTemplate labelKey=''>
<#assign templateImage=template_image_list[templateIterator]!>
<#assign templateIterator=templateIterator+1>
<#if templateImage?? && templateImage != "">
<#else>
#if>
${template.description}
@radioButton>
@li>
<#assign nIndex=nIndex+1>
#list>
@ul>
@formGroup>
<#else>
<@empty title='#i18n{newsletter.compose_newsletter.noNewsletterTemplate}' subtitle=' ' />
#if>
@columns>
@row>