Implemented exception

This commit is contained in:
Kevin Frantz
2018-07-15 11:35:11 +02:00
parent a444f4805c
commit 2ec0a66896
4 changed files with 90 additions and 53 deletions

View File

@@ -1,4 +1,5 @@
{% extends "frames/default.html.twig" %}
{% set menu_items = [] %}
{% block content %}
<h1>Error!</h1>
<p>{{ message }}</p>

View File

@@ -2,18 +2,18 @@
{% block title %}register{% endblock %}
{% block content %}
<h1>Register</h1>
<form>
<form method="post">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
<label for="email">Email address</label>
<input type="email" class="form-control" id="email" aria-describedby="emailHelp" name="email" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Username</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter Username">
<label for="name">Username</label>
<input type="email" class="form-control" id="name" aria-describedby="emailHelp" name="name" placeholder="Enter Username">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" name="password" placeholder="Password">
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>