{% extends "layout.html" %}
{% block content %}
<div class="jumbotron">
	{% with messages = get_flashed_messages() %}
		{% if not messages %}
		<h1>Orton</h1>
		<p class="lead">Get an email containing your restitution history.</p>
			<form class="form-inline" action="/send-email" method="post">
				<div class="input-group input-group-lg">
					<input type="email" class="form-control" name="email" id="email" placeholder="GS email address" autofocus>
					<span class="input-group-addon">@georgeschool.org</span>
				</div>
				<br>
				<button type="submit" class="btn btn-success btn-lg">Send</button>
			</form>
		{% else %}
		<p>{{ messages[0] }}</p>
		{% endif %}
	{% endwith %}
</div>
{% endblock %}
{% extends "layout.html" %}
{% block content %}
<div class="jumbotron">
	{% with messages = get_flashed_messages() %}
		{% if not messages %}
		<h1>Orton</h1>
		<p class="lead">Get an email containing your restitution history.</p>
			<form class="form-inline" action="/send-email" method="post">
				<div class="input-group input-group-lg">
					<input type="text" class="form-control" name="email" id="email" placeholder="GS email address" autofocus>
					<span class="input-group-addon">@georgeschool.org</span>
				</div>
				<br>
				<button type="submit" class="btn btn-success btn-lg">Send</button>
			</form>
		{% else %}
		<p>{{ messages[0] }}</p>
		{% endif %}
	{% endwith %}
</div>
{% endblock %}
Change email input from email to text
Change email input from email to text
