{% load i18n %}
{% load absstatic %}
{% for res in elem_list %}
	<tr class="shareline">
		<td class="firstcolsharetable">
		{% if res.type == "user" %}
			<img src='{% absstatic "ldt/img/user.png" %}' alt="{% trans "user" %}"/>
		{% else %}
			<img src='{% absstatic "ldt/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 %}