mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
15 years ago
|
{% extends "layout.html" %}
|
||
|
{% block body %}
|
||
|
{% if name %}
|
||
|
<h2>Hello {{ name }}!</h2>
|
||
|
{% else %}
|
||
|
<h3>Hello Stranger …</h3>
|
||
|
<form action="{{ url_for('hello_user') }}" method="post">
|
||
|
<p>… What's your name?
|
||
|
<p><input type=text name=name size=30>
|
||
|
<input type=submit value="That's me">
|
||
|
</form>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|