<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Guestbook</title> | |
</head> | |
<body> | |
<h2>Guestbook</h2> | |
<!-- Mostra i messaggi flash --> | |
{% include 'includes/flash.html' %} | |
<form id="message-form"> | |
<textarea id="message" name="message" required></textarea><br> | |
<button type="submit">Submit</button> | |
</form> | |
<h3>Messages:</h3> | |
<ul id="messages-list"></ul> | |
<script src="{{ url_for('static', filename='script.js') }}"></script> | |
</body> | |
</html> |