29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
{% load crispy_forms_tags %}
|
|
<div class="col-6 mt-3">
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Modul</th>
|
|
<th scope="col">Aktiviert</th>
|
|
<th scope="col">Einstellungen</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="module_checkboxes">
|
|
<form method="POST" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="form_type" value="agencymodform">
|
|
<input type="hidden" name="settings_area" value="moduls">
|
|
{% for formfield in modulform %}
|
|
<tr>
|
|
<td>{{formfield.label_tag}}</td>
|
|
<td>{{formfield}}</td>
|
|
<td><button type="button" class="btn btn-sm btn-primary" disabled="true"><i class="fas fa-cog"></i></button></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
<button type="submit" class="btn btn-success" data-toggle="tooltip" data-placement="top" title="Mit dem Speichern wird die Seite neu geladen, damit alle Einstellungen aktualisiert werden. Werden Module deaktiviert, gehen die Einstellungen und zugewiesenen Rechte nicht verloren.">Moduleinstellungen aktualisieren</button>
|
|
</form>
|
|
</div>
|
|
|