BookStack/resources/views/auth/passwords/reset.blade.php

45 lines
1.6 KiB
PHP
Raw Normal View History

@extends('public')
@section('header-buttons')
2018-02-17 08:30:52 -05:00
<a href="{{ baseUrl("/login") }}">@icon('login') {{ trans('auth.log_in') }}</a>
@if(setting('registration-enabled'))
2018-02-17 08:30:52 -05:00
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
@endif
@stop
2015-09-04 12:16:58 -04:00
@section('content')
<div class="text-center">
<div class="card center-box">
<h3>@icon('permission') {{ trans('auth.reset_password') }}</h3>
<div class="body">
<form action="{{ baseUrl("/password/reset") }}" method="POST">
{!! csrf_field() !!}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group">
<label for="email">{{ trans('auth.email') }}</label>
@include('form/text', ['name' => 'email'])
</div>
<div class="form-group">
<label for="password">{{ trans('auth.password') }}</label>
@include('form/password', ['name' => 'password'])
</div>
<div class="form-group">
<label for="password_confirmation">{{ trans('auth.password_confirm') }}</label>
@include('form/password', ['name' => 'password_confirmation'])
</div>
<div class="from-group text-right">
<button class="button primary">{{ trans('auth.reset_password') }}</button>
</div>
</form>
</div>
</div>
</div>
@stop