2017-10-05 23:33:57 +00:00
{% extends 'base.html' %}
2017-11-19 22:39:25 +00:00
{% load crispy_forms_tags %}
2017-10-05 23:33:57 +00:00
{% load i18n %}
{% block volunteerstab %} class="active"{% endblock %}
{% block content %}
2017-11-19 22:39:25 +00:00
< div class = "page-header" >
< h1 >
{% trans "Become a volunteers!" %}
< / h1 >
2017-12-01 20:18:35 +00:00
{% blocktrans %}We need you! To participate, please enter your name and e-mail and select the activities you are interested in.{% endblocktrans %}
2017-11-19 22:39:25 +00:00
< / div >
2017-10-05 23:33:57 +00:00
2017-11-19 22:39:25 +00:00
< div class = "row" >
< div class = "col-md-12" >
{% if not request.user.is_authenticated %}
< div class = "col-md-8 col-md-offset-2 alert alert-info" >
< span class = "glyphicon glyphicon-exclamation-sign" > < / span >
{% url 'volunteer-mail-token' as mail_token_url %}
{% blocktrans %}If you already subscribe as a volunteer and want to update your availabilities, please click < a href = "{{ mail_token_url }}" > here< / a > .{% endblocktrans %}
< / div >
{% endif %}
< form method = "POST" class = "form-horizontal col-md-8 col-md-offset-2" >
{% csrf_token %}
{{ form|crispy }}
< div class = "col-md-12 text-center" >
< button type = "submit" class = "btn btn-primary text-center" > {% trans "Save" %} < i class = "fa fa-check" > < / i > < / button >
< / div >
< / form >
< / div >
< / div >
2017-10-05 23:33:57 +00:00
{% endblock %}