Skip to content
Permalink
1b7c80fbd2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
26 lines (20 sloc) 716 Bytes
{% extends "_base.html" %}
{% block page_title %}Guestbook{% endblock %}
{% block content %}
<h1>Guestbook</h1>
<p>Hello, and welcome to my guestbook, because it's 1997!</p>
<ul class="guests">
{% for entry in entries %}
<li>
<blockquote>{{ entry.message }}</blockquote>
<p><cite>{{ entry.name }}</cite>, <time>{{ entry.timestamp }}</time></p>
</li>
{% endfor %}
</ul>
<hr>
<form action="{{ url_for('signme') }}" method="POST">
<p>Name: <input type="text" name="name"></p>
<p>Message: <textarea name="message" rows="10" cols="40"></textarea></p>
<p><button>Sign</button></p>
</form>
{% endblock %}