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

interface pour ajouter des membres à un club

This commit is contained in:
Pierre-antoine Comby
2019-08-14 18:47:46 +02:00
parent 4879af3f34
commit 40c697e57f
6 changed files with 320 additions and 6 deletions

View File

@ -0,0 +1,23 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load static %}
{% block content %}
<form method="post" action="">
{% csrf_token %}
{% crispy formset helper %}
<div class="form-actions">
<input type="submit" name="submit" value="Save" class="btn btn-primary" id="submit-save">
</div>
</form>
<!-- Include formset plugin - including jQuery dependency -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="{% static 'js/dynamic-formset.js' %}"></script>
<script>
$('.formset-row').formset({
addText: 'add link',
deleteText: 'remove'
});
</script>
{% endblock %}