{% extends "memberships/base.html" %}
{% load membership_tags %}
{% load base_tags %}
{% load base_filters %}
{% load styled_forms %}
{% load i18n %}

{% block title %}Membership Application for {{ entry.name }}{% endblock %}
{% block meta_description %}{{ entry.get_description }}{% endblock %}
{% block meta_keywords %}{{ entry.get_keywords }}{% endblock %}
{% block meta_canonical_url %}<link rel="canonical" href="{{ entry.get_canonical_url }}" />{% endblock %}

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

{% block body %}
<div class="t">
{% membership_nav request.user %}
<div class="entry-wrap">
    
    <h1>{{ entry.app.name }} {% if entry.is_renewal %}{% trans "Renewal" %}{% else %}{% trans "Submission" %}{% endif %}</h1>
    <div>
    <form action="" method="post">
    <div class="forms">{% csrf_token %}
        {{ form|styled_form }}
        <input type="submit" value="Save Changes" />
    </div>
    </form>
    </div>
</div>
</div>
{% endblock %}
