Cristina Cochior
6 years ago
2 changed files with 36 additions and 10 deletions
@ -0,0 +1,20 @@ |
|||||
|
{% block content %} |
||||
|
<div class="description"> |
||||
|
<h2 style = "text-align: center;">Write something very interesting here.</h2> |
||||
|
{% for message in form.name.errors %} |
||||
|
<div>{{ message }}</div> |
||||
|
{% endfor %} |
||||
|
|
||||
|
<form method="POST" action="/get-data"> |
||||
|
<fieldset> |
||||
|
{{ form.hidden_tag() }} |
||||
|
<div>{{ form.name.label }} {{ form.name }}</div> |
||||
|
<div>{{ form.email.label }} {{ form.email }}</div> |
||||
|
<div>{{ form.friend.label }} {{ form.friend }}</div> |
||||
|
<div>{{ form.content.label }} {{ form.content }}</div> |
||||
|
<div>{{ form.submit }}</div> |
||||
|
</fieldset> |
||||
|
</form> |
||||
|
</div> |
||||
|
{% endblock %} |
||||
|
|
Loading…
Reference in new issue