39 lines
913 B
HTML
39 lines
913 B
HTML
{% 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 %}
|
|
<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 %} |