geschichten/stories/writingtogether/templates/writingtogether/index.html

32 lines
639 B
HTML
Raw Normal View History

2021-03-31 01:15:49 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Geschichten!</title>
</head>
<body>
<h1>Geschichten!</h1>
2021-04-19 00:19:32 +02:00
<h2>Offene Runden</h2>
{% if open_story_round_list %}
2021-03-31 01:15:49 +02:00
<ul>
2021-04-19 00:19:32 +02:00
{% for story in open_story_round_list %}
<li><a href="{% url 'writing:redirect_story_part' story_pk=story.pk %}">{{ story.name }}</a></li>
2021-03-31 01:15:49 +02:00
{% endfor %}
</ul>
{% else %}
<p>Noch keine Geschichten vorhanden.</p>
{% endif %}
<form action="{% url 'writing:create_story_round' %}" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Neue Runde">
</form>
</body>
</html>