add_truck.html
mirhasan
html
10 months ago
976 B
3
Indexable
<!DOCTYPE html>
<html>
<head>
<title>Add Truck</title>
</head>
<body>
<h1>Add Truck</h1>
<form method="post">
<label for="region_id">Region:</label>
<select id="region_id" name="region_id">
{% for region in regions %}
<option value="{{ region[0] }}">{{ region[1] }}</option>
{% endfor %}
</select>
<br>
<label for="status">Status:</label>
<select id="status" name="status">
<option value="Empty">Empty</option>
<option value="Full">Full</option>
</select>
<br>
<label for="last_emptied">Last Emptied:</label>
<input type="datetime-local" id="last_emptied" name="last_emptied">
<br>
<label for="truck_plate">Truck Plate:</label>
<input type="text" id="truck_plate" name="truck_plate" required>
<button type="submit">Add Truck</button>
</form>
</body>
</html>
Editor is loading...
Leave a Comment