Cristina Cochior
6 years ago
4 changed files with 0 additions and 70 deletions
Binary file not shown.
Binary file not shown.
@ -1,42 +0,0 @@ |
|||||
{% block content %} |
|
||||
<div class="formwrapper"> |
|
||||
<form method=post> |
|
||||
<div class="name"> |
|
||||
{{ form.name(placeholder='Joe Blah') }} {{ form.name.label }} |
|
||||
{% if form.name.errors %} |
|
||||
<ul class="errors">{% for error in form.name.errors %}<li>{{ error }}</li>{% endfor %}</ul> |
|
||||
{% endif %} |
|
||||
</div> |
|
||||
<div class="email"> |
|
||||
{{ form.email }} {{ form.email.label }} |
|
||||
{% if form.email.errors %} |
|
||||
<ul class="errors">{% for error in form.email.errors %}<li>{{ error }}</li>{% endfor %}</ul> |
|
||||
{% endif %} |
|
||||
</div> |
|
||||
<div class="password"> |
|
||||
{{ form.password }} {{ form.password.label }} |
|
||||
{% if form.password.errors %} |
|
||||
<ul class="errors">{% for error in form.password.errors %}<li>{{ error }}</li>{% endfor %}</ul> |
|
||||
{% endif %} |
|
||||
</div> |
|
||||
<div class="confirm"> |
|
||||
{{ form.confirm }} {{ form.confirm.label }} |
|
||||
{% if form.confirm.errors %} |
|
||||
<ul class="errors">{% for error in form.password.errors %}<li>{{ error }}</li>{% endfor %}</ul> |
|
||||
{% endif %} |
|
||||
</div> |
|
||||
<div class="website"> |
|
||||
{{ form.website(placeholder='http://example.com') }} {{ form.website.label }} |
|
||||
</div> |
|
||||
<div class="submitbutton"> |
|
||||
<input id="submit" type="submit" value="Submit"> |
|
||||
</div> |
|
||||
</form> |
|
||||
</div> |
|
||||
|
|
||||
{% for message in get_flashed_messages() %} |
|
||||
<div class="alert alert-warning"> |
|
||||
<button type="button" class="close" data-dismiss="alert">×</button> |
|
||||
{{ message }} |
|
||||
</div> |
|
||||
{% endfor %} |
|
@ -1,28 +0,0 @@ |
|||||
<!DOCTYPE html> |
|
||||
<html lang="en"> |
|
||||
<head> |
|
||||
<meta charset="UTF-8"> |
|
||||
<title>Login</title> |
|
||||
</head> |
|
||||
<body> |
|
||||
|
|
||||
{% if message %} |
|
||||
<p>{{ message }}</p> |
|
||||
{% endif %} |
|
||||
|
|
||||
<form action="" method="post"> |
|
||||
<p> |
|
||||
<label for="username">Username</label> |
|
||||
<input type="text" name="username"> |
|
||||
</p> |
|
||||
<p> |
|
||||
<label for="password">Password</label> |
|
||||
<input type="password" name="password"> |
|
||||
</p> |
|
||||
<p> |
|
||||
<input type="submit"> |
|
||||
</p> |
|
||||
</form> |
|
||||
|
|
||||
</body> |
|
||||
</html> |
|
Loading…
Reference in new issue