aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/login.blade.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-18 22:09:53 +0200
committerMateja <mail@matejamaric.com>2020-10-18 22:09:53 +0200
commit75e4ed82769143be8968edf9110e6e2fd5d85028 (patch)
tree77487b68567767ae01c832aa8b47148d4ab86137 /resources/views/pages/login.blade.php
parent4cd3e2eacb4e81950dddd3e64c6c81b5f1e3f24d (diff)
downloadyota-laravel-75e4ed82769143be8968edf9110e6e2fd5d85028.tar.gz
yota-laravel-75e4ed82769143be8968edf9110e6e2fd5d85028.zip
forms and migrations
Diffstat (limited to 'resources/views/pages/login.blade.php')
-rw-r--r--resources/views/pages/login.blade.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/pages/login.blade.php b/resources/views/pages/login.blade.php
index b4a9f19..f75fb78 100644
--- a/resources/views/pages/login.blade.php
+++ b/resources/views/pages/login.blade.php
@@ -1,4 +1,18 @@
@extends('layouts.app')
@section('content')
+<form action="{{ route('login') }}" method="POST">
+ @csrf
+ <div class="form-group">
+ <label for="email">Email: </label>
+ <input class="form-control" type="email" id="email" name="email">
+ </div>
+ <div class="form-group">
+ <label for="pw">Password: </label>
+ <input class="form-control" type="password" id="pw" name="password">
+ </div>
+ <div class="form-group">
+ <input class="btn btn-primary" type="submit" value="Login">
+ </div>
+</form>
@endsection()