mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
e4f46c2a4e
* Default database connection - set defaults for engine and strict * Working on tests for refactored model * Fixes for tests, use polymorphic relationships for Invitations * skin the password reset pages
74 lines
3.6 KiB
PHP
74 lines
3.6 KiB
PHP
@extends('layouts.master')
|
|
|
|
@section('body')
|
|
|
|
<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 }}">
|
|
<h1>@lang('texts.change_password')</h1>
|
|
<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>
|
|
</span>
|
|
</div>
|
|
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="@lang('texts.email')" required autofocus>
|
|
|
|
@if ($errors->has('email'))
|
|
<span class="invalid-feedback" role="alert">
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
</span>
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<div class="input-group mb-4">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">
|
|
<i class="icon-lock"></i>
|
|
</span>
|
|
</div>
|
|
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="@lang('texts.password')" required>
|
|
|
|
@if ($errors->has('password'))
|
|
<span class="invalid-feedback" role="alert">
|
|
<strong>{{ $errors->first('password') }}</strong>
|
|
</span>
|
|
@endif
|
|
</div>
|
|
|
|
<div class="input-group mb-4">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text">
|
|
<i class="icon-lock"></i>
|
|
</span>
|
|
</div>
|
|
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" placeholder="@lang('texts.confirm_password')" required>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<button class="btn btn-primary px-4" type="submit">@lang('texts.change_password')</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
</body>
|
|
</html>
|