]> BookStack Code Mirror - bookstack/blob - resources/views/auth/passwords/reset.blade.php
Fixes image deletion failing in subdirectory.
[bookstack] / resources / views / auth / passwords / reset.blade.php
1 @extends('public')
2
3 @section('header-buttons')
4     <a href="{{ baseUrl("/login") }}">@icon('login') {{ trans('auth.log_in') }}</a>
5     @if(setting('registration-enabled'))
6         <a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
7     @endif
8 @stop
9
10 @section('content')
11
12     <div class="text-center">
13         <div class="card center-box">
14             <h3>@icon('permission') {{ trans('auth.reset_password') }}</h3>
15
16             <div class="body">
17                 <form action="{{ baseUrl("/password/reset") }}" method="POST">
18                     {!! csrf_field() !!}
19                     <input type="hidden" name="token" value="{{ $token }}">
20
21                     <div class="form-group">
22                         <label for="email">{{ trans('auth.email') }}</label>
23                         @include('form/text', ['name' => 'email'])
24                     </div>
25
26                     <div class="form-group">
27                         <label for="password">{{ trans('auth.password') }}</label>
28                         @include('form/password', ['name' => 'password'])
29                     </div>
30
31                     <div class="form-group">
32                         <label for="password_confirmation">{{ trans('auth.password_confirm') }}</label>
33                         @include('form/password', ['name' => 'password_confirmation'])
34                     </div>
35
36                     <div class="from-group text-right">
37                         <button class="button primary">{{ trans('auth.reset_password') }}</button>
38                     </div>
39                 </form>
40             </div>
41
42         </div>
43     </div>
44
45 @stop