48c28651b8
Boxes takes content directly from the DB and drops it into the django templates. This is rather ugly and goes against keeping as much as we can in static locations. As such, this is being dropped.
25 lines
736 B
HTML
25 lines
736 B
HTML
{% extends "site_base.html" %}
|
|
|
|
{% load bootstrap %}
|
|
{% load i18n %}
|
|
|
|
|
|
{% block head_title %}<div style="color: white;">{% trans "Add a Sponsor" %}</div>{% endblock %}
|
|
|
|
{% block body_class %}sponsorships{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="jumbotron"
|
|
<form method="POST" action="{% url "sponsor_add" %}" class="form-horizontal">
|
|
{% csrf_token %}
|
|
<legend>{% trans "Add a Sponsor" %}</legend>
|
|
{{ form|bootstrap_horizontal }}
|
|
|
|
<div class="form-actions pad-buttons">
|
|
<br/>
|
|
<input class="btn btn-primary" type="submit" value="Add" />
|
|
<a class="btn btn-default" href="{% url "dashboard" %}">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|