aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/login.blade.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-27 23:17:19 +0100
committerMateja <mail@matejamaric.com>2020-10-27 23:17:19 +0100
commita3d432a6a0710261149fdaecdc2a5a62a82fe303 (patch)
tree7045451baab059a7ee5c630ba79e59d90e61d25e /resources/views/pages/login.blade.php
parent70af943af67e05656f8000a832ef7f27b4db4e6f (diff)
downloadyota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.tar.gz
yota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.zip
Validator::make and html5 required
Diffstat (limited to 'resources/views/pages/login.blade.php')
-rw-r--r--resources/views/pages/login.blade.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/pages/login.blade.php b/resources/views/pages/login.blade.php
index bb1b7c8..b323872 100644
--- a/resources/views/pages/login.blade.php
+++ b/resources/views/pages/login.blade.php
@@ -10,14 +10,14 @@
@csrf
<div class="form-group">
<label for="email">Email: </label>
- <input class="form-control @error('email') is-invalid @enderror" type="email" id="email" name="email" value="{{ old('email') }}">
+ <input class="form-control @error('email') is-invalid @enderror" type="email" id="email" name="email" value="{{ old('email') }}" required>
@error('email')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
</div>
<div class="form-group">
<label for="pw">Password: </label>
- <input class="form-control @error('password') is-invalid @enderror" type="password" id="pw" name="password">
+ <input class="form-control @error('password') is-invalid @enderror" type="password" id="pw" name="password" required>
@error('password')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror