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>
|
|
|
|
|
|
|
|
<form action="{{ route('editProfile') }}" method="post">
|
|
|
|
@csrf
|
|
|
|
@foreach($profile as $profile)
|
|
|
|
<div class="form-group col-lg-8">
|
2021-07-06 10:53:28 +02:00
|
|
|
<label>Name</label>
|
2021-04-16 01:00:00 +02:00
|
|
|
<input type="text" class="form-control" name="name" value="{{ $profile->name }}">
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-8">
|
|
|
|
<label>Email</label>
|
|
|
|
<input type="email" class="form-control" name="email" value="{{ $profile->email }}">
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-8">
|
|
|
|
<label>Password</label>
|
2021-07-06 10:53:28 +02:00
|
|
|
<input type="password" name="password" class="form-control" placeholder="if empty, password will blank">
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-8">
|
|
|
|
<label>Role</label>
|
|
|
|
<input type="text" class="form-control" value="{{ strtoupper($profile->role) }}" readonly>
|
2021-04-16 01:00:00 +02:00
|
|
|
</div>
|
|
|
|
<button type="submit" class="mt-3 ml-3 btn btn-info">Submit</button>
|
|
|
|
@endforeach
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@endsection
|