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 class="field">
<input type="checkbox" name="private" id="private" value="private"><label for="private"> Private group </label>
<div class="ui checkbox">
<input type="checkbox" name="private" id="private" value="private">
<label for="private">Private Group</label>
<input type="submit" class="ui submit button">
......@@ -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>
{% endif %}
<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/{{}}" 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