2018-12-02 11:42:06 +01:00
|
|
|
@extends('layouts.guest')
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
@section('body')
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
<body class="app flex-row align-items-center">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="card-group">
|
|
|
|
<div class="card p-4">
|
|
|
|
<div class="card-body">
|
|
|
|
<form method="POST" action="{{ route('password.update') }}">
|
|
|
|
@csrf
|
|
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
2019-09-26 15:00:51 +02:00
|
|
|
<h1>@lang::get('texts.change_password')</h1>
|
2018-10-22 14:04:37 +02:00
|
|
|
<p class="text-muted"></p>
|
|
|
|
<div class="input-group mb-3">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text">
|
|
|
|
<i class="icon-user"></i>
|
2018-10-15 07:00:48 +02:00
|
|
|
</span>
|
2018-10-22 14:04:37 +02:00
|
|
|
</div>
|
2019-09-26 15:00:51 +02:00
|
|
|
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="@lang::get('texts.email')" required autofocus>
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
@if ($errors->has('email'))
|
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
|
|
</span>
|
|
|
|
@endif
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
</div>
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
<div class="input-group mb-4">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text">
|
|
|
|
<i class="icon-lock"></i>
|
2018-10-15 07:00:48 +02:00
|
|
|
</span>
|
2018-10-22 14:04:37 +02:00
|
|
|
</div>
|
2019-09-26 15:00:51 +02:00
|
|
|
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="@lang::get('texts.password')" required>
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
@if ($errors->has('password'))
|
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
|
<strong>{{ $errors->first('password') }}</strong>
|
|
|
|
</span>
|
|
|
|
@endif
|
|
|
|
</div>
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
<div class="input-group mb-4">
|
|
|
|
<div class="input-group-prepend">
|
|
|
|
<span class="input-group-text">
|
|
|
|
<i class="icon-lock"></i>
|
|
|
|
</span>
|
|
|
|
</div>
|
2019-09-26 15:00:51 +02:00
|
|
|
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" placeholder="@lang::get('texts.confirm_password')" required>
|
2018-10-22 14:04:37 +02:00
|
|
|
</div>
|
2018-10-15 07:00:48 +02:00
|
|
|
|
2018-10-22 14:04:37 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-6">
|
2019-09-26 15:00:51 +02:00
|
|
|
<button class="btn btn-primary px-4" type="submit">@lang::get('texts.change_password')</button>
|
2018-10-22 14:04:37 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2018-10-15 07:00:48 +02:00
|
|
|
</div>
|
2018-10-22 14:04:37 +02:00
|
|
|
</div>
|
2018-10-15 07:00:48 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-22 14:04:37 +02:00
|
|
|
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|