{% load i18n %}

<label>{% trans "List of members" %}:</label>	
<div class="span-12 last projectscontentsdiv" id="ldtcreatecontentslistcontainer">
	<div class="span-12 last projectscontentstablediv">
		<table class="projectscontentstable">
		
			<tr class="projectscontentsheader last" id="contentslistheader">
				<td class="cellcheckbox">
				{% if user_list|length > 1 %}
					<input class="selectallprojects" id="check_projects" type="checkbox" />	 
				{% endif %}
				</td>				
				<td class="projectcontentsheadertitle">{% trans "name" %}</td>
				<td class="projectcontentsheadertitle">{% trans "admin" %}</td>
			</tr>				
		
		    <tbody class="projectscontentsbody">
			{% for user in user_list %}
				    <td class="cellcheckbox"><input type="checkbox" name="members_list" value="{{ user.id }}" title="{% trans "Check to include this user in the group" %}" {% if user.member %}checked="checked"{% endif %}/></td>
				    <td class="contenttitle">{{ user.username }}</td>
				    <td class="cellcheckbox"><input type="checkbox" name="admin_list" value="{{ user.id }}" title="{% trans "Check to give this user the right to change the group" %}" {% if user.admin %}checked="checked"{% endif %}/></td>
				 </tr>
			{% endfor %} 			
				
			</tbody>
		</table>			
	</div>	
</div>
