First steps with the new registration app
This commit is contained in:
16
new-registration-app/templates/index.html
Normal file
16
new-registration-app/templates/index.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
{% for event in events %}
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="card p-3 m-3">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ event.title }}</h5>
|
||||
<p class="card-text">{{ event.description }}</p>
|
||||
<a href="event/{{ event.id }}" class="btn btn-primary">Zur Anmeldung</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user