akaunting/resources/views/auth/reset/create.blade.php

55 lines
2.4 KiB
PHP
Raw Normal View History

2017-09-14 22:21:00 +03:00
@extends('layouts.auth')
@section('title', trans('auth.reset_password'))
@section('message', trans('auth.reset_password'))
@section('content')
2019-11-16 10:21:14 +03:00
<form role="form" method="POST" action="{{ route('reset.store') }}">
{{ csrf_field() }}
2017-09-14 22:21:00 +03:00
2019-11-16 10:21:14 +03:00
<input type="hidden" name="token" value="{{ $token }}">
2017-09-14 22:21:00 +03:00
2019-11-16 10:21:14 +03:00
@stack('email_input_start')
<div class="form-group has-feedback{{ $errors->has('email') ? ' has-error' : '' }}">
<input name="email" type="email" class="form-control" required autofocus>
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
@stack('email_input_end')
2017-09-14 22:21:00 +03:00
2019-11-16 10:21:14 +03:00
@stack('password_input_start')
<div class="form-group has-feedback{{ $errors->has('password') ? ' has-error' : '' }}">
<input name="password" type="password" class="form-control" required>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
@stack('password_input_end')
2017-09-14 22:21:00 +03:00
2019-11-16 10:21:14 +03:00
@stack('password_confirmation_input_start')
<div class="form-group has-feedback{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<input name="password_confirmation" type="password" class="form-control" placeholder="{{ trans('auth.password.new_confirm') }}" required>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</div>
@stack('password_confirmation_input_end')
2017-09-14 22:21:00 +03:00
2019-11-16 10:21:14 +03:00
<div class="row">
<div class="col-sm-offset-8 col-sm-4">
<button type="submit" class="btn btn-success btn-block btn-flat">{{ trans('auth.reset') }}</button>
</div>
2017-09-14 22:21:00 +03:00
</div>
2019-11-16 10:21:14 +03:00
</form>
2017-09-14 22:21:00 +03:00
@endsection