add devica name
This commit is contained in:
parent
1e6ca7eb06
commit
fe5e0e6374
@ -5,7 +5,11 @@
|
||||
<div class="col-md-6">
|
||||
<h2>Dodaj nowe urządzenie</h2>
|
||||
<form method="POST">
|
||||
<!-- Pozostałe pola: name, ip, port, username, password -->
|
||||
<!-- Pole nazwy urządzenia -->
|
||||
<div class="mb-3">
|
||||
<label for="name" class="form-label">Nazwa urządzenia</label>
|
||||
<input type="text" class="form-control" name="name" id="name" required>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="ip" class="form-label">Adres IP</label>
|
||||
<input type="text" class="form-control" name="ip" id="ip" required>
|
||||
|
@ -5,7 +5,12 @@
|
||||
<div class="col-md-6">
|
||||
<h2>Edytuj urządzenie</h2>
|
||||
<form method="POST">
|
||||
<!-- Pola edycji: name, ip, port, username, password, branch -->
|
||||
<!-- Pole nazwy urządzenia -->
|
||||
<div class="mb-3">
|
||||
<label for="name" class="form-label">Nazwa urządzenia</label>
|
||||
<input type="text" class="form-control" name="name" id="name" value="{{ device.name }}" required>
|
||||
</div>
|
||||
<!-- Pozostałe pola edycji: ip, port, username, password, branch -->
|
||||
<div class="mb-3">
|
||||
<label for="ip" class="form-label">Adres IP</label>
|
||||
<input type="text" class="form-control" name="ip" id="ip" value="{{ device.ip }}" required>
|
||||
|
Loading…
x
Reference in New Issue
Block a user