{% load i18n %}

{% for res in elem_list %}
	<tr class="shareline">
		<td class="firstcolsharetable">
		{% if res.type == "user" %}
			<img src="{{LDT_MEDIA_PREFIX}}img/user.png" alt="{% trans "user" %}"/>
		{% else %}
			<img src="{{LDT_MEDIA_PREFIX}}img/group.png" alt={% trans "group" %}"/>		
		{% endif %}
		</td>
		
		<td class="seccolsharetable" >{{ res.name }}</td>
		<td></td>
		<input type="hidden" value="{{ res.id }}-{{ res.type }}"/>
	</tr>
{% endfor %}