mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
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
20 lines
689 B
HTML
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 %}
|