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