Updated tests
This commit is contained in:
@@ -1,17 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Wigan Homebrew Club Competition Entry</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Wigan Homebrew Club Competition Entry</h1>
|
||||
<p>The next competition brew will be a <strong>{{ brew_name }}</strong>. It will be judged at the meeting in <strong>{{ brew_month }}</strong></p>
|
||||
<p>If you would like to enter the competition, please enter your name below to generate a letter/number that will be used to identify your entry</p>
|
||||
<form action="{{ url_for('generate') }}" method="POST">
|
||||
<label for="name">Please enter your name and initial (eg: Sean C):</label>
|
||||
<input name="name" type="text" id="name"><br>
|
||||
<button type="submit">Enter Competition</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
{% extends "bootstrap/base.html" %}
|
||||
{% block title %}Wigan Homebrew Club Competition Entry{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="jumbotron text-center">
|
||||
<h2>Wigan Homebrew Club Competition Entry</h2>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-2"></div>
|
||||
<div class="col-md-8">
|
||||
<p>The next competition brew will be a <strong>{{ brew_name }}</strong>. It will be judged at the meeting in <strong>{{ brew_month }}</strong></p>
|
||||
<br/>
|
||||
<p>If you would like to enter the competition, please enter your name below to generate a letter/number that will be used to identify your entry</p>
|
||||
<hr>
|
||||
<form action="{{ url_for('generate') }}" method="POST">
|
||||
<div class="form-group">
|
||||
<label for="name">Please enter your first name and initial (or nickname)</label>
|
||||
<input name="name" type="text" id="name" class="form-control input-lg" placeholder="eg: Sean C">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Enter Competition</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user