develop
Last change
on this file since ea7b12a was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added user authentication, create & forgot password methods and blades
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | @extends('layouts.auth')
|
---|
2 |
|
---|
3 | @section("title", "Create password | TechBlog")
|
---|
4 |
|
---|
5 | @section('content')
|
---|
6 |
|
---|
7 | <!-- logo -->
|
---|
8 | <div id="logo">
|
---|
9 | <img class="logo" src="{{ url('assets/media/images/logo.png') }}" alt="image">
|
---|
10 | <img class="logo-dark" src="{{ url('assets/media/images/logo-dark.png') }}" alt="image">
|
---|
11 | </div>
|
---|
12 | <!-- ./ logo -->
|
---|
13 |
|
---|
14 | <h5>Create password</h5>
|
---|
15 |
|
---|
16 | <!-- form -->
|
---|
17 | <form action="{{ route("auth.create-password", ["id" => $id, "token" => $token]) }}" method="post">
|
---|
18 | @csrf
|
---|
19 | @if ($errors->any())
|
---|
20 | <div class="alert alert-danger">
|
---|
21 | <ul class="m-0 pl-2">
|
---|
22 | @foreach ($errors->all() as $error)
|
---|
23 | <li>{{ $error }}</li>
|
---|
24 | @endforeach
|
---|
25 | </ul>
|
---|
26 | </div>
|
---|
27 | @endif
|
---|
28 | <div class="form-group">
|
---|
29 | <input id="password" type="password" name="password" class="form-control" placeholder="Password" autocomplete="off" required autofocus>
|
---|
30 | </div>
|
---|
31 | <div class="form-group">
|
---|
32 | <input id="password" type="password" name="password_confirmation" class="form-control" placeholder="Confirm password" autocomplete="off" required autofocus>
|
---|
33 | </div>
|
---|
34 | <div class="form-group">
|
---|
35 | <input type="text" id="security_code" class="form-control" name="security_code" autocomplete="off" placeholder="Security code" required>
|
---|
36 | </div>
|
---|
37 | <input type="submit" value="Create Password" class="btn btn-primary btn-block">
|
---|
38 | <hr>
|
---|
39 | </form>
|
---|
40 | <!-- ./ form -->
|
---|
41 |
|
---|
42 | @endsection
|
---|
Note:
See
TracBrowser
for help on using the repository browser.