home.html 287 B

12345678910111213
  1. {% extends "base.html" %}
  2. {% block main %}
  3. {% if current_user %}
  4. {% for group in groups %}
  5. {{ group['id'] }}: {{ group['name'] }}
  6. {% end %}
  7. <form method="post" action="/groups/create">
  8. <input type="text" name="name">
  9. <input type="submit">
  10. </form>
  11. {% end %}
  12. {% end %}