aboutsummaryrefslogtreecommitdiff
path: root/resources
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
parent70af943af67e05656f8000a832ef7f27b4db4e6f (diff)
downloadyota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.tar.gz
yota-laravel-a3d432a6a0710261149fdaecdc2a5a62a82fe303.zip
Validator::make and html5 required
Diffstat (limited to 'resources')
-rw-r--r--resources/views/pages/index.blade.php2
-rw-r--r--resources/views/pages/login.blade.php4
-rw-r--r--resources/views/pages/reserve.blade.php18
3 files changed, 12 insertions, 12 deletions
diff --git a/resources/views/pages/index.blade.php b/resources/views/pages/index.blade.php
index 1b7974f..eed53ac 100644
--- a/resources/views/pages/index.blade.php
+++ b/resources/views/pages/index.blade.php
@@ -39,7 +39,7 @@ It is consisted of the management building,
3 groups of bungalows,
auxiliary facilities,
sports courts and the following contents.
-“Čardak“is surrounded by paths which are marked by information boards,
+“Čardak“ is surrounded by paths which are marked by information boards,
resting places and viewpoints.
It provides a complete stay in the nature for school children,
university students and especially experts in biological sciences.
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
diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php
index 26003b8..163fea0 100644
--- a/resources/views/pages/reserve.blade.php
+++ b/resources/views/pages/reserve.blade.php
@@ -11,7 +11,7 @@
<!-- SPECIAL CALL -->
<div class="form-group">
<label for="special-call">Special Callsign:</label>
- <select class="form-control @error('scall') is-invalid @enderror" id="special-call" name="scall">
+ <select class="form-control @error('scall') is-invalid @enderror" id="special-call" name="scall" required>
<option value="YT50SCWC">YT50SCWC</option>
</select>
@error('scall')
@@ -22,7 +22,7 @@
<!-- START TIME -->
<div class="form-group">
<label for="start-date">Start date:</label>
- <input class="form-control @error('sdate') is-invalid @enderror" type="date" id="start-date" name="sdate">
+ <input class="form-control @error('sdate') is-invalid @enderror" type="date" id="start-date" name="sdate" required>
@error('sdate')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
@@ -30,7 +30,7 @@
<div class="form-group">
<label for="start-time">Start time:</label>
- <input class="form-control @error('stime') is-invalid @enderror" type="time" id="start-time" name="stime">
+ <input class="form-control @error('stime') is-invalid @enderror" type="time" id="start-time" name="stime" required>
@error('stime')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
@@ -39,7 +39,7 @@
<!-- END TIME -->
<div class="form-group">
<label for="end-date">End date:</label>
- <input class="form-control @error('edate') is-invalid @enderror" type="date" id="end-date" name="edate">
+ <input class="form-control @error('edate') is-invalid @enderror" type="date" id="end-date" name="edate" required>
@error('edate')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
@@ -47,7 +47,7 @@
<div class="form-group">
<label for="end-time">End time:</label>
- <input class="form-control @error('etime') is-invalid @enderror" type="time" id="end-time" name="etime">
+ <input class="form-control @error('etime') is-invalid @enderror" type="time" id="end-time" name="etime" required>
@error('etime')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
@@ -177,7 +177,7 @@
<!-- OPERATOR CALL -->
<div class="form-group">
<label for="operator-call">Operator Callsign:</label>
- <input class="form-control @error('ocall') is-invalid @enderror" type="text" id="operator-call" name="ocall">
+ <input class="form-control @error('ocall') is-invalid @enderror" type="text" id="operator-call" name="ocall" required>
@error('ocall')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
@@ -186,7 +186,7 @@
<!-- OPERATOR NAME -->
<div class="form-group">
<label for="operator-name">Operator name:</label>
- <input class="form-control @error('oname') is-invalid @enderror" type="text" id="operator-name" name="oname">
+ <input class="form-control @error('oname') is-invalid @enderror" type="text" id="operator-name" name="oname" required>
@error('oname')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
@@ -195,7 +195,7 @@
<!-- OPERATOR EMAIL -->
<div class="form-group">
<label for="operator-email">Operator email:</label>
- <input class="form-control @error('email') is-invalid @enderror" type="email" id="operator-email" name="email">
+ <input class="form-control @error('email') is-invalid @enderror" type="email" id="operator-email" name="email" required>
@error('email')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror
@@ -204,7 +204,7 @@
<!-- OPERATOR PHONE -->
<div class="form-group">
<label for="operator-phone">Operator phone:</label>
- <input class="form-control @error('phone') is-invalid @enderror" type="tel" id="operator-phone" name="phone">
+ <input class="form-control @error('phone') is-invalid @enderror" type="tel" id="operator-phone" name="phone" required>
@error('phone')
<div class="alert alert-danger mt-2">{{ $message }}</div>
@enderror