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

45 lines
1.5 KiB
PHP
Raw Normal View History

@extends('public')
@section('header-buttons')
2018-02-17 13:30:52 +00:00
<a href="{{ baseUrl("/login") }}">@icon('login') {{ trans('auth.log_in') }}</a>
@if(setting('registration-enabled'))
2018-02-17 13:30:52 +00:00
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
@endif
@stop
@section('body-class', 'image-cover login')
2015-09-04 16:16:58 +00:00
@section('content')
<div class="text-center">
<div class="center-box text-left">
<h1>{{ trans('auth.reset_password') }}</h1>
<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">
<button class="button block pos">{{ trans('auth.reset_password') }}</button>
</div>
</form>
</div>
</div>
@stop