{% extends "layout-2-col.html" %}
{% block content %}
{% ifequal action "add" %}
<form action="{% url add_publisher %}" method="post">
{% endifequal %}
{% ifequal action "edit" %}
<form action="{% url edit_publisher publisher.id %}" method="post">
{% endifequal %}
<style>
th {
	text-align:right;
}
</style>
<table>
{{ form.as_table }}
<table>
<p><input type="submit" value="Сохранить" /></p>
</form>
{% endblock %}