Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @(form: Form[controllers.Application.Login])
- <html>
- <body>
- @helper.form(routes.Application.authenticate) {
- <h1>Sign in</h1>
- @if(form.hasGlobalErrors) {
- <p class="error">
- @form.globalError.message
- </p>
- }
- @if(flash.contains("success")) {
- <p class="success">
- @flash.get("success")
- </p>
- }
- <p>
- <input type="email" name="email" placeholder="Email" value="@form("email").value">
- </p>
- <p>
- <input type="password" name="password" placeholder="Password">
- </p>
- <p>
- <button type="submit">Login</button>
- </p>
- }
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement