1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

Create activities

This commit is contained in:
Yohann D'ANELLO
2020-03-27 01:31:54 +01:00
parent 213e5a8369
commit 45b14ed1bd
4 changed files with 36 additions and 12 deletions

View File

@ -2,15 +2,9 @@
{% load render_table from django_tables2 %}
{% load i18n crispy_forms_tags%}
{% block content %}
{% render_table table %}
<a class="btn btn-primary" href="{% url 'activity:activity_create' %}">{% trans 'New activity' %}</a>
<div class="row">
<div id="replaceable-content" class="col-6">
{% render_table table %}
</div>
</div>
<a class="btn btn-primary" href="{% url 'activity:activity_create' %}">{% trans 'New activity' %}</a>
{% endblock %}
{% block extrajavascript %}