add_bin.html
<!DOCTYPE html> <html> <head> <title>Add Bin</title> </head> <body> <h1>Add Bin</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> <option value="Partially Full">Partially Full</option> </select> <br> <label for="last_collected">Last Collected:</label> <input type="datetime-local" id="last_collected" name="last_collected"> <br> <button type="submit">Add Bin</button> </form> </body> </html>
Leave a Comment