Files
modoboa/templates/admin/add_permission.html
T
tonio bd32445e3e see #92
I think the refactoring is over :-) I need to add specifec events that will allow plugins to define their own roles inside the hierarchy.

Otherwise, the graphical part needs some improvment, actually it's not really pretty :p
2010-11-26 17:35:23 +01:00

20 lines
689 B
HTML

{% extends "layout_simple.html" %}
{% load i18n %}
{% block html_head %}
<script src="{{ MEDIA_URL }}js/form.js" type="text/javascript"></script>
{% endblock %}
{% block content %}
<div class="title"><h1>{{ title }}</h1></div>
{% if error %}<div class="error">{{ error }}</div>{% endif %}
{% url admin.views.add_permission as addurl %}
<form action="{{ addurl }}" method="POST" id="permform" name="permform">
<input type="hidden" name="role" id="role" value="{{ role }}" />
{% include "common/genericform.html" %}
<div class="spacer"></div>
<div class="lastrow" align="center">
<input type="submit" name="submit" value="{% trans 'Add' %}" />
</div>
</form>
{% endblock %}