44 lines
1.1 KiB
HTML
44 lines
1.1 KiB
HTML
{% extends 'base.html' %}
|
|
{% load widget_tweaks %}
|
|
|
|
{% block title %}Add Cliente IMMEX {% endblock title %}
|
|
|
|
{% block content %}
|
|
<h2>Editar Módulo/Permisos</h2>
|
|
<p><strong>Cliente:</strong>{{object.sistema_cliente}}</p>
|
|
<hr>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
|
|
<h3>Selecciona Módulo</h3>
|
|
{{ modulo_formset.management_form }}
|
|
{% for form in modulo_formset.forms %}
|
|
<div class="form-group">
|
|
{{ form}}
|
|
</div>
|
|
|
|
{% 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 %}
|
|
{% block scripts %}
|
|
{% include 'IMMEX/modulos/add_SistemaXCliente_Script.html' %}
|
|
{% endblock %} |