password.blade.php
2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@extends('layout.admin', ['title' => 'Смена пароля'])
@section('content')
<section class="favorites">
<div class="favorites-top">
<div class="container">
<div class="breadcrumbs">
<ul class="breadcrumbs__list">
<li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('user.index') }}">Главная</a></li>
<li class="breadcrumbs__item"><span class="breadcrumbs__link">Смена пароля </span></li>
</ul>
</div>
<h1 class="favorites__title title-main">Смена пароля</h1>
</div>
</div>
<div class="favorites-cnt">
<div class="container">
<form method="post" action="{{ route('admin.validate_password')}}" style="width:100%">
@csrf
<label for="old_password">Старый пароль: <span class="req">*</span></label><br>
@error('old_password')
<div class="alert alert-danger">{{ $message }}</div><br>
@enderror
<input type="text" class="form-control_ txt" name="old_password" placeholder="Старый пароль"
required maxlength="100" style="width: 80%" value=""><br><br>
<label for="new_password">Новый пароль: <span class="req">*</span></label><br>
@error('password')
<div class="alert alert-danger">{{ $message }}</div><br>
@enderror
<input type="password" class="form-control_ txt" name="password" placeholder="Новый пароль"
required maxlength="100" style="width: 80%" value=""><br><br>
<label for="new_password2">Новый пароль (еще раз): <span class="req">*</span></label><br>
@error('password_confirmation')
<div class="alert alert-danger">{{ $message }}</div><br>
@enderror
<input type="password" class="form-control_ txt" name="password_confirmation" placeholder="Новый пароль (еще раз)"
required maxlength="100" style="width: 80%" value=""><br><br>
<button type="submit" class="btn hero-search__btn btn--main">Сохранить</button>
</form>
</div>
</div>
</section>
@endsection