add_station.html
<!DOCTYPE html> <html> <head> <title>Add Station</title> </head> <body> <h1>Add Station</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="location">Location:</label> <input type="text" id="location" name="location" required> <br> <button type="submit">Add Station</button> </form> </body> </html>
Leave a Comment