From ff7e1159aa653aa8f2ffc319a64e3bb00f8f0d30 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Wed, 26 May 2021 14:50:38 +0200 Subject: [PATCH] templates: use common breadcrumb in role edit page (#47703) --- .../templates/authentic2/manager/role_edit.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/authentic2/manager/templates/authentic2/manager/role_edit.html b/src/authentic2/manager/templates/authentic2/manager/role_edit.html index d84b56f9..656ba8cf 100644 --- a/src/authentic2/manager/templates/authentic2/manager/role_edit.html +++ b/src/authentic2/manager/templates/authentic2/manager/role_edit.html @@ -1,11 +1,21 @@ -{% extends "authentic2/manager/form.html" %} -{% load i18n %} +{% extends "authentic2/manager/role_common.html" %} +{% load i18n gadjo %} {% block page-title %}{{ block.super }} - {% trans "Edit role" %} {{ object }}{% endblock %} {% block breadcrumb %} {{ block.super }} - {% trans 'Roles' %} {{ object }} {% trans "Modify" %} {% endblock %} + +{% block content %} +
+ {% csrf_token %} + {{ form|with_template }} +
+ + {% trans 'Cancel' %} +
+
+{% endblock %} -- 2.20.1