2021-04-16 01:00:00 +02:00
|
|
|
@extends('layouts.sidebar')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<h2 class="mb-4"><i class="bi bi-person"> Profile</i></h2>
|
|
|
|
|
2022-03-31 21:31:00 +02:00
|
|
|
@foreach($profile as $profile)
|
|
|
|
|
2021-04-16 01:00:00 +02:00
|
|
|
<form action="{{ route('editProfile') }}" method="post">
|
|
|
|
@csrf
|
|
|
|
<div class="form-group col-lg-8">
|
2022-03-31 21:31:00 +02:00
|
|
|
<h3>Name</h3>
|
2021-04-16 01:00:00 +02:00
|
|
|
<input type="text" class="form-control" name="name" value="{{ $profile->name }}">
|
|
|
|
</div>
|
2022-03-31 21:31:00 +02:00
|
|
|
<button type="Change " class="mt-3 ml-3 btn btn-info">Change name</button>
|
|
|
|
</form>
|
|
|
|
|
2022-03-31 21:33:58 +02:00
|
|
|
@if(env('REGISTER_AUTH') != 'verified')
|
2022-03-31 21:31:00 +02:00
|
|
|
<br><br><form action="{{ route('editProfile') }}" method="post">
|
|
|
|
@csrf
|
2021-04-16 01:00:00 +02:00
|
|
|
<div class="form-group col-lg-8">
|
2022-03-31 21:31:00 +02:00
|
|
|
<h3>Email</h3>
|
2021-04-16 01:00:00 +02:00
|
|
|
<input type="email" class="form-control" name="email" value="{{ $profile->email }}">
|
|
|
|
</div>
|
2022-03-31 21:31:00 +02:00
|
|
|
<button type="Change " class="mt-3 ml-3 btn btn-info">Change email</button>
|
|
|
|
</form>
|
2022-03-31 21:33:58 +02:00
|
|
|
@endif
|
2022-03-31 21:31:00 +02:00
|
|
|
|
|
|
|
<br><br><form action="{{ route('editProfile') }}" method="post">
|
|
|
|
@csrf
|
2021-04-16 01:00:00 +02:00
|
|
|
<div class="form-group col-lg-8">
|
2022-03-31 21:31:00 +02:00
|
|
|
<h3>Password</h3>
|
2021-07-06 10:53:28 +02:00
|
|
|
<input type="password" name="password" class="form-control" placeholder="if empty, password will blank">
|
|
|
|
</div>
|
2022-03-31 21:31:00 +02:00
|
|
|
<button type="Change " class="mt-3 ml-3 btn btn-info">Change password</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@csrf
|
|
|
|
<br><br><div class="form-group col-lg-8">
|
|
|
|
<h3>Role</h3>
|
2021-07-06 10:53:28 +02:00
|
|
|
<input type="text" class="form-control" value="{{ strtoupper($profile->role) }}" readonly>
|
2021-04-16 01:00:00 +02:00
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@endsection
|