Add form for editing NAT addresses

This commit is contained in:
Timotej Lazar 2023-07-06 17:18:10 +02:00
parent 8b8c675759
commit 5262c64244
5 changed files with 60 additions and 3 deletions

View file

@ -0,0 +1,19 @@
{% extends 'base.html' %}
{% block content %}
<p>
Urejate naslove NAT za pisarniška omrežja.
<form id="request" method="POST">
<table>
<tbody>
{% for office, address in nat.items() %}
<tr>
<td><label for="{{ office }}">{{ office }}</label>
<td><input id="{{ office }}" name="{{ office }}" value="{{ address }}" />
{% endfor %}
</table>
<p><button id="submit" type="submit">Shrani</button>
</form>
{% endblock %}