<@row> <@columns> <#if documents_list?size = 0> <@alert color='danger'>#i18n{document.selector.document.noDocument}

<@button type='button' params='onclick="javascript:history.go(-1);"' title='#i18n{portal.util.labelBack}' buttonIcon='times' color='default' />

<#else> <@tform method='post' name='fsubmit' action='jsp/admin/plugins/document/DoInsertDocumentLink.jsp'> <@row> <@columns sm=4> <@input type='hidden' name='input' value='${input}' /> <@input type='hidden' name='portlet_id' value='${portlet_id}' /> <@input type='hidden' name='subcategory' value='${type_filter}' /> <@fieldSet legend='#i18n{document.selector.document.insertListTitle}'> <@formGroup labelFor='name' labelKey='#i18n{document.selector.document.linkName}'> <@input type='text' name='name' id='name' value='' maxlength=50 /> <@formGroup labelFor='alt' labelKey='#i18n{document.selector.document.captionTitle}'> <@input type='text' name='alt' id='alt' value='' maxlength=50 /> <@formGroup labelFor='target' labelKey='#i18n{document.selector.document.captionTarget}'> <@select name='target' id='target> <@columns sm=8> <@formGroup params='style="overflow:auto;height:360px;"'> <@table> <@tr> <@th> <@th>#i18n{document.selector.document.colTitle} <@th>#i18n{document.selector.document.colSummary} <#list documents_list as document> <@tr> <@td> <@td>${document.title?if_exists} <@td>${document.summary?if_exists} <@formGroup> <@button type='button' params='onclick="javascript:history.go(-1);"' title='#i18n{portal.util.labelBack}' buttonIcon='chevron-left' /> <@button type='submit' title='#i18n{portal.util.labelValidate}' buttonIcon='check' />