Skip to content

Commit dc279ba

Browse files
committed
Made textarea field required
1 parent cc09bfe commit dc279ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/views/studio/profile.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@csrf
1111
<div class="form-group col-lg-8">
1212
<h3>Name</h3>
13-
<input type="text" class="form-control" name="name" value="{{ $profile->name }}">
13+
<input type="text" class="form-control" name="name" value="{{ $profile->name }}" required>
1414
</div>
1515
<button type="Change " class="mt-3 ml-3 btn btn-info">Change name</button>
1616
</form>
@@ -20,7 +20,7 @@
2020
@csrf
2121
<div class="form-group col-lg-8">
2222
<h3>Email</h3>
23-
<input type="email" class="form-control" name="email" value="{{ $profile->email }}">
23+
<input type="email" class="form-control" name="email" value="{{ $profile->email }}" required>
2424
</div>
2525
<button type="Change " class="mt-3 ml-3 btn btn-info">Change email</button>
2626
</form>
@@ -30,7 +30,7 @@
3030
@csrf
3131
<div class="form-group col-lg-8">
3232
<h3>Password</h3>
33-
<input type="password" name="password" class="form-control" placeholder="At least 8 characters">
33+
<input type="password" name="password" class="form-control" placeholder="At least 8 characters" required>
3434
</div>
3535
<button type="Change " class="mt-3 ml-3 btn btn-info">Change password</button>
3636
</form>

0 commit comments

Comments
 (0)