Sistemas Clientes modulos permisos finished

This commit is contained in:
fjrodriguez
2023-11-30 10:42:06 -06:00
parent 61cf354a79
commit 607790896b
16 changed files with 523 additions and 77 deletions

View File

@@ -0,0 +1,36 @@
{% extends 'base.html' %}
{% load widget_tweaks %}
{% block title %}Add Cliente IMMEX {% endblock title %}
{% block content %}
<h2>Crear Módulo/Permisos</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<h3>Selecciona Módulo</h3>
{{ modulo_formset.management_form }}
{% for form in modulo_formset.forms %}
{{ form.as_table }}
{% endfor %}
<h3>Selecciona Permisos para modulo</h3>
<div class="">
{{ permiso_formset.management_form }}
{% for form in permiso_formset.forms %}
<div class="form-group">
{{ form }}
</div>
{% endfor %}
</div>
<button type="submit" class="btn btn-outline-success">Guardar</button>
</form>
{% endblock %}