mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
added member profile editing
added a basic ui so logged in members can change their info/password when needed
This commit is contained in:
30
resources/views/forms/profile-edit.blade.php
Normal file
30
resources/views/forms/profile-edit.blade.php
Normal file
@ -0,0 +1,30 @@
|
||||
<form action="/den/profile/edit" method="post" enctype="multipart/form-data">
|
||||
<div>
|
||||
<img class="your-avatar" src='{{$avatar}}'>
|
||||
<br />
|
||||
<label>New Avatar</label><br />
|
||||
<input type="file" id="fresh_avi" name="fresh_avi" />
|
||||
<br />
|
||||
<label>Handle</label><br />
|
||||
<input type="text" name="handle" value="{{$handle}}" />
|
||||
<br />
|
||||
<label>Email</label><br />
|
||||
<input type="text" name="email" value="{{$email}}" />
|
||||
<br />
|
||||
<label>Pronouns</label><br />
|
||||
<input type="text" name="pronouns" value="{{$pronouns}}" />
|
||||
<br />
|
||||
<h2>Change Password</h2>
|
||||
<label>Fresh Password</label><br />
|
||||
<input type="password" id="fresh_pass" name="fresh_pass" value="" />
|
||||
<br />
|
||||
<label>Confirm Fresh Password</label><br />
|
||||
<input type="password" id="fresh_pass_confirm" name="fresh_pass_confirm" value="" />
|
||||
<br />
|
||||
|
||||
|
||||
</div>
|
||||
@csrf
|
||||
<input type="hidden" name="id" value="{{$uuid}}" />
|
||||
<input type="submit" value="Edit Profile" name="submit_button">
|
||||
</form>
|
Reference in New Issue
Block a user