@row>
<@columns>
<@box>
<@boxHeader title='#i18n{mylutece.manage_attributes.pageTitle}'>
<@tform type='inline' method='post' action='jsp/admin/plugins/mylutece/attribute/CreateAttribute.jsp'>
<@formGroup formStyle='inline' labelFor='attribute_type_class_name' labelKey='#i18n{mylutece.manage_attributes.addNewAttributes}'>
<@inputGroup>
<@select id='attribute_type_class_name' name='attribute_type_class_name' size='sm'>
<#list attribute_types_list as attribute_type>
#list>
@select>
<@inputGroupItem>
<@button type='submit' buttonIcon='plus' title='#i18n{mylutece.manage_attributes.buttonAdd}' hideTitle=['all'] size='sm' />
@inputGroupItem>
@inputGroup>
@formGroup>
@tform>
@boxHeader>
<@boxBody>
<@table>
<@tr>
<@th>#i18n{mylutece.manage_attributes.columnTitle}@th>
<@th>#i18n{mylutece.manage_attributes.columnType}@th>
<@th>#i18n{mylutece.manage_attributes.columnOriginalComponent}@th>
<@th>#i18n{mylutece.manage_attributes.columnTitleActions}@th>
@tr>
<#assign cpt = 0>
<#list attributes_list as attribute >
<#assign cpt = cpt + 1>
<@tr>
<@td>${attribute.title}@td>
<@td>${attribute.attributeType.name}@td>
<@td>
<#if attribute.plugin?exists && attribute.plugin.name?has_content>
${attribute.plugin.name}
<#else>
#i18n{mylutece.manage_attributes.labelMyLutece}
#if>
@td>
<@td>
<#if attribute.plugin?exists && attribute.plugin.name != "">
<#if cpt != 1>
<@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveUpAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveUp}' hideTitle=['all'] buttonIcon='arrow-up' size='sm' />
#if>
<#if attribute_has_next>
<@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveDownAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveDown}' hideTitle=['all'] buttonIcon='arrow-down' size='sm' />
#if>
<#else>
<@aButton href='jsp/admin/plugins/mylutece/attribute/ModifyAttribute.jsp?id_attribute=${attribute.idAttribute}' title='#i18n{mylutece.manage_attributes.buttonLabelModify}' hideTitle=['all'] buttonIcon='edit' size='sm' />
<#if cpt != 1>
<@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveUpAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveUp}' hideTitle=['all'] buttonIcon='arrow-up' size='sm' />
#if>
<#if attribute_has_next>
<@aButton href='jsp/admin/plugins/mylutece/attribute/DoMoveDownAttribute.jsp?id_attribute=${attribute.idAttribute}#list' title='#i18n{mylutece.modify_attribute.buttonLabelMoveDown}' hideTitle=['all'] buttonIcon='arrow-down' size='sm' />
#if>
<@aButton href='jsp/admin/plugins/mylutece/attribute/RemoveAttribute.jsp?id_attribute=${attribute.idAttribute}' title='#i18n{mylutece.manage_attributes.buttonLabelDelete}' hideTitle=['all'] buttonIcon='trash' color='danger' size='sm' />
#if>
@td>
@tr>
#list>
@table>
@boxBody>
@box>
@columns>
@row>