{% extends "campaign_monitor/base.html" %}
{% load perm_tags %}
{% load styled_forms %}
{% load campaign_monitor_tags %}
{% load i18n %}

{% block title %}{% trans "Template Add" %}{% endblock %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/campaign_monitor.css">
{% endblock %}

{% block body %}
<div class="t">
	{% template_nav request.user %}
    
    <h1>{% trans "Template Add" %}</h1>
    
    <div class="template-wrap">  
    	<form action="{% url campaign_monitor.template_add %}" method="post" enctype="multipart/form-data">{% csrf_token %}
    	<div class="forms">
			{{ form|styled_form }}
        	<input type="submit" value="Add Template" />
		</div>
        </form>
    </div>

</div>
{% endblock %}

{% block extra_body %}
    {{ block.super }}
{% endblock %}
