34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
|
<form action="/den/member/edit" method="post" enctype="multipart/form-data">
|
||
|
<div>
|
||
|
<img class="your-avatar" src='{{$avatar}}'>
|
||
|
<br />
|
||
|
<label>Handle</label><br />
|
||
|
<input type="text" name="handle" value="{{$member->handle}}" />
|
||
|
<br />
|
||
|
<label>Email</label><br />
|
||
|
<input type="text" name="email" value="{{$member->email}}" />
|
||
|
<br />
|
||
|
<label>Pronouns</label><br />
|
||
|
<input type="text" name="pronouns" value="{{$member->pronoun}}" />
|
||
|
<br />
|
||
|
<label>Role</label><br />
|
||
|
<input type="text" name="role" value="{{$member->role}}" />
|
||
|
<br />
|
||
|
<label>Status</label><br />
|
||
|
<select name="status">
|
||
|
@if($member->active == true)
|
||
|
<option value="true" selected>Active</option>
|
||
|
<option value="false">Not Active</option>
|
||
|
@else
|
||
|
<option value="true">Active</option>
|
||
|
<option value="false" selected>Not Active</option>
|
||
|
@endif
|
||
|
|
||
|
|
||
|
</select>
|
||
|
<br />
|
||
|
</div>
|
||
|
@csrf
|
||
|
<input type="hidden" name="id" value="{{$member->uuid}}" />
|
||
|
<input type="submit" value="Edit Member" name="submit_button">
|
||
|
</form>
|