2020-06-30 12:04:34 +00:00
|
|
|
@extends("app.layout.base")
|
|
|
|
|
|
|
|
@section("title")
|
|
|
|
Account
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
|
|
|
<main>
|
2020-08-06 18:33:46 +00:00
|
|
|
<h1 class="text-center sde-blue mt-0">{{__('msg.konto')}}</h1>
|
2020-08-03 07:39:32 +00:00
|
|
|
<form method="post" action="{{ route("users.accountupdate", ['user' => Auth::user()]) }}">
|
2020-07-01 08:13:49 +00:00
|
|
|
@csrf
|
|
|
|
@method("put")
|
2020-08-06 18:33:46 +00:00
|
|
|
<span>{{__('msg.navn')}}:</span>
|
2020-07-31 07:28:58 +00:00
|
|
|
<input type="text" value="{{ Auth::user()->name_first . " " . Auth::user()->name_last }}" disabled>
|
2020-08-06 18:33:46 +00:00
|
|
|
<span>{{__('msg.email')}}:</span>
|
2020-06-30 12:04:34 +00:00
|
|
|
<input type="email" name="email" id="email" value="{{ Auth::user()->email }}" required>
|
2020-08-06 18:33:46 +00:00
|
|
|
<span>{{__('msg.telefon')}} Nr.:</span>
|
2020-06-30 12:04:34 +00:00
|
|
|
<input type="text" name="phone" id="phone" value="{{ Auth::user()->phone }}" required>
|
2020-08-06 18:33:46 +00:00
|
|
|
<button type="submit" class="btn text-center btn-sde-blue mt-1">{{__('msg.rediger')}}</button>
|
2020-08-07 06:51:05 +00:00
|
|
|
<button onclick="window.location.href = '{{ route('users.account') }}';" class="btn text-center btn-sde-blue mt-1">{{__('msg.tilbage')}}</button>
|
2020-06-30 12:04:34 +00:00
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
@endsection
|