<@div class="insert-service" > <@row> <@columns> <#if documents_list?size = 0> <@alert color='danger'>#i18n{document.selector.document.noDocument} <@p> <@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'> <@input type='hidden' name='input' value='${input}' /> <@input type='hidden' name='portlet_id' value='${portlet_id}' /> <@input type='hidden' name='subcategory' value='${type_filter}' /> <@row> <@columns sm=4> <@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'> <@option value='_self' label='#i18n{document.selector.document.target.self}' /> <@option value="_blank" label='#i18n{document.selector.document.target.blank}' /> <@option value="_parent" label='#i18n{document.selector.document.target.parent}' /> <@option value="_top" label='#i18n{document.selector.document.target.top}' /> <@columns sm=8> <@formGroup> <@table> <@tr> <@th> <@th>#i18n{document.selector.document.colTitle} <@th>#i18n{document.selector.document.colSummary} <#list documents_list as document> <@tr> <@td> <@radioButton id='document_id_${document.id}' name='document_id' value=document.id /> <@td>${document.title!} <@td>${document.summary!} <@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' />