{% extends "entities/base.html" %}
{% load entity_tags %}
{% load styled_forms %}
{% load i18n %}

{% block title %}{{ block.super }}{% trans "Add" %}{% endblock %}

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

{% block body %}
<div class="t">

    {% entity_nav request.user %}

    <h1>{% firstof MODULE_ENTITIES_LABEL trans 'Entity' %}  {% trans "Add" %}</h1>

    <div class="entities-wrap">
    	<form action="{% url entity.add %}" method="post">{% csrf_token %}
    	<div class="forms">
            {{ form|styled_form }}
        	<input type="submit" value="Add {% firstof MODULE_ENTITIES_LABEL 'Entity' %}" />
		</div>
        </form>
    </div>

</div>
{% endblock %}
