{% extends "corporate_memberships/base.html" %}
{% load pagination_tags %}
{% load base_filters %}
{% load perm_tags %}
{% load corporate_memberships_tags %}
{% load styled_forms %}
{% load i18n %}

{% block title %}{% trans "Corporate Membership Edit Free Passes" %}{% endblock %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/corporate_memberships.css">
<style>
	input[name='total_passes_allowed']{
		width: 21% !important;
	}
</style>
{% endblock %}

{% block body %}
<div class="t">
{% corpmemb_nav request.user corp_memb %} 
<div class="corp-reps">
     <h1>{% trans "Corporate Membership Edit Free Passes" %}</h1>
     <div><a href="{% url corpmembership.view corp_membership.id %}">{{ corp_membership.corp_profile.name }}</a></div>
    <p>
    <form action="" method="post">{% csrf_token %}
	<div class="forms">
		{{ form|styled_form }}
        <input type="submit" name="submit" value="Save" />
	</div>
	
	</form>
	</p>
</div>	
</div>
{% endblock %}

