<div class="modal fade" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn close" data-dismiss="modal">×</button>
<h4 class="modal-title">Edit Profile</h4>
</div>
<form method="POST" action="/profile">
@csrf
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" value="{{ $user->name }}">
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" value="{{ $user->email }}">
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" value="{{ $user->password }}">
</div>
<button type="submit" class="btn btn-default pull-right">Update Profile</button>
</form>
</div>
</div>
</div>
/anna