2012-10-18 16:38:03 +00:00
|
|
|
{% extends "site_base.html" %}
|
|
|
|
|
2014-01-15 13:59:31 +00:00
|
|
|
{% load url from future %}
|
|
|
|
|
|
|
|
|
2012-10-18 16:38:03 +00:00
|
|
|
{% load bootstrap_tags %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% load boxes_tags %}
|
|
|
|
|
|
|
|
{% block head_title %}{% trans "Add a Sponsor" %}{% endblock %}
|
|
|
|
|
2012-10-20 23:59:10 +00:00
|
|
|
{% block body_class %}sponsorships{% endblock %}
|
2012-10-18 16:38:03 +00:00
|
|
|
|
|
|
|
{% block body %}
|
2014-01-15 13:59:31 +00:00
|
|
|
<form method="POST" action="{% url 'sponsor_add' %}" class="form-horizontal">
|
2012-10-18 16:38:03 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
<legend>{% trans "Add a Sponsor" %}</legend>
|
|
|
|
{{ form|as_bootstrap }}
|
|
|
|
<div class="form-actions">
|
|
|
|
<input class="btn btn-primary" type="submit" value="Add" />
|
2014-01-15 13:59:31 +00:00
|
|
|
<a class="btn" href="{% url 'dashboard' %}">Cancel</a>
|
2012-10-18 16:38:03 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|