Skip to content

Instantly share code, notes, and snippets.

@emilepetrone
Created July 22, 2010 00:41
Show Gist options
  • Save emilepetrone/485400 to your computer and use it in GitHub Desktop.
Save emilepetrone/485400 to your computer and use it in GitHub Desktop.
<html>
<head>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
{% for greeting in greetings %}
{% if greeting.author %}
<b>{{ greeting.author.nickname }}</b> wrote:
{% else %}
An anonymous person wrote:
{% endif %}
<blockquote>{{ greeting.content|escape }}</blockquote>
{% endfor %}
<form action="/sign" method="post">
<div><textarea name="content" rows="3" cols="60"></textarea></div>
<div><input type="submit" value="Sign Guestbook"></div>
</form>
<a href="{{ url }}">{{ url_linktext }}</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment