Update by ialbert on Mon Dec  4 15:43:08 EST 2017 from yolo.local
<a href="{% url 'project_users' project.id %}">People with Access</a>
</div>
- <div class="ui segment">
+ <div class="ui basic segment">
<div class="ui cards">
{% for user, form in forms %}
-
- <div class="card">
<form method="post" action="{% url 'project_users' project.id %}">
+
<input type="hidden" name="user_id" value="{{ user.id }}">
<input type="hidden" name="project_id" value="{{ project.id }}">
+
{% csrf_token %}
- {{form.errors}}
- <div class="ui content">
- <div class="ui tiny header">
- {{user.first_name}} : {{user.email }}
+
+ <div class="ui card">
+
+ <div class="content">
+ <a class="header"> {{ user.first_name }}</a>
+ <div class="meta">
+ <span class="date">{{ user.email }}</span>
</div>
- <div class="description">
+ </div>
+ <div class="content">
{{ form.access }}
- <button type="submit" class="ui basic green center aligned button" formmethod="post">
+ <button type="submit" class="ui basic green center aligned button">
Submit
</button>
-
</div>
</div>
</form>
- </div>
+
{% endfor %}
</div>
