diff options
Diffstat (limited to 'accounts/templates')
-rw-r--r-- | accounts/templates/accounts/signup.html | 14 | ||||
-rw-r--r-- | accounts/templates/accounts/terms.html | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/accounts/templates/accounts/signup.html b/accounts/templates/accounts/signup.html index a8a517c..56b5a4c 100644 --- a/accounts/templates/accounts/signup.html +++ b/accounts/templates/accounts/signup.html @@ -12,10 +12,24 @@ {% csrf_token %} {{ form.as_p }} <br> + <label> + <input name="terms_accept" type="checkbox" class="filled-in"/> + <span style="color:black">Accetto i <a href="{% url 'terms' %}">Termini e condizioni generali</a></span> + </label> + <br> + <br> <button class="btn waves-effect waves-light" type="submit">Invia</button> </form> </div> </div> </div> </div> +{% endblock %} + +{% block script %} +{% if error %} +document.addEventListener('DOMContentLoaded', function() { + M.toast({html: '{{ error_text }}', classes: 'orange'}) +}); +{% endif %} {% endblock %}
\ No newline at end of file diff --git a/accounts/templates/accounts/terms.html b/accounts/templates/accounts/terms.html new file mode 100644 index 0000000..c72e006 --- /dev/null +++ b/accounts/templates/accounts/terms.html @@ -0,0 +1,27 @@ +{% extends 'registration/base_client.html' %} + +{% block title %}About{% endblock %} + +{%block nav%} + <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a> + <a href="!#" class="breadcrumb hide-on-med-and-down">Termini e condizioni</a> +{% endblock%} + +{% block content %} + <div class="row"> + <div class="col l4 offset-l4 m8 offset-m2 s12"> + <div class="card"> + <div class="card-content"> + <h5>Termini e condizioni</h5> + <blockquote> + Termine 1 ecc...... + Cose + </blockquote> + </div> + </div> + </div> + </div> +{% endblock %} + +{% block script %} +{% endblock %}
\ No newline at end of file |