Commit e67e7608 authored by Moreau Elise's avatar Moreau Elise
Browse files

update templates for groups

parent e635cd13
......@@ -10,9 +10,10 @@
<div class="field">
<textarea name="description" id="description" placeholder="Description" value="{{description}}" required></textarea>
</div>
<div class="field">
<input type="checkbox" name="private" id="private" value="private"><label for="private"> Private group </label>
</div>
<div class="ui checkbox">
<input type="checkbox" name="private" id="private" value="private">
<label for="private">Private Group</label>
</input>
<input type="submit" class="ui submit button">
</form>
</div>
......
......@@ -2,11 +2,13 @@
{% block content %}
<div style="grid-column:1/2; grid-row:1/2">
<h1> List groups </h1>
{% if session.userId %}
<form action="/groups/create">
<button type="submit" class="ui button">Create a group</button>
</form>
{% endif %}
</div>
<div class="ui relaxed divided list" id="list" style="max-height:590px;">
<div class="ui relaxed divided list" id="list" style="max-height:585px;">
{% for group in groups %}
<a href="groups/{{group.id}}" class="item">
<div class="ui horizontal label">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment