@div class="insert-service" > <@row> <@columns>
<#if documents_list?size = 0> <@alert color='danger'>#i18n{document.selector.document.noDocument}@alert> <@p> <@button type='button' params='onclick="javascript:history.go(-1);"' title='#i18n{portal.util.labelBack}' buttonIcon='times' color='default' /> @p> <#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> <@formGroup labelFor='alt' labelKey='#i18n{document.selector.document.captionTitle}'> <@input type='text' name='alt' id='alt' value='' maxlength=50 /> @formGroup> <@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}' /> @select> @formGroup> @fieldSet> @columns> <@columns sm=8> <@formGroup> <@table> <@tr> <@th>@th> <@th>#i18n{document.selector.document.colTitle}@th> <@th>#i18n{document.selector.document.colSummary}@th> @tr> <#list documents_list as document> <@tr> <@td> <@radioButton id='document_id_${document.id}' name='document_id' value=document.id /> @td> <@td>${document.title!}@td> <@td>${document.summary!}@td> @tr> #list> @table> @formGroup> @columns> @row> <@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' /> @formGroup> @tform> #if> @columns> @row> @div>