LinkStack/resources/views/studio/profile.blade.php

27 lines
919 B
PHP
Raw Normal View History

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">
<label>Username</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>
<input type="password" name="password" class="form-control">
</div>
<button type="submit" class="mt-3 ml-3 btn btn-info">Submit</button>
@endforeach
</form>
@endsection