25 lines
895 B
PHP
25 lines
895 B
PHP
@extends("app.layout.base")
|
|
|
|
@section("title")
|
|
Account
|
|
@endsection
|
|
|
|
@section("content")
|
|
<main>
|
|
<h1 class="text-center sde-blue mt-0">Konto</h1>
|
|
<form method="post" action="{{ route("users.update", ['user' => Auth::user()]) }}">
|
|
@csrf
|
|
@method("put")
|
|
<span>Nuværende Password:</span>
|
|
<input type="password" name="oldpassword" id="old" required>
|
|
<span>Nyt Password:</span>
|
|
<input type="password" name="password" id="new" required>
|
|
<span>Bekræft Nyt Password:</span>
|
|
<input type="password" name="confirmpassword" id="confirm" required>
|
|
{!! session()->get('error#notsamepass') !!}
|
|
{!! session()->get('error#oldpass') !!}
|
|
<button type="submit" class="btn text-center btn-sde-blue mt-1">Rediger</button>
|
|
</form>
|
|
</main>
|
|
@endsection
|