2024-09-27 20:39:56 +02:00
|
|
|
<form action="{{$action_url}}" method="post" enctype="multipart/form-data">
|
2024-09-25 00:21:59 +02:00
|
|
|
<div>
|
2024-09-27 20:39:56 +02:00
|
|
|
@php
|
|
|
|
isset($avatar) ? $avi = $avatar : $avi = '';
|
|
|
|
@endphp
|
|
|
|
<img class="your-avatar" src='{{$avi}}'>
|
2024-09-25 00:21:59 +02:00
|
|
|
<br />
|
|
|
|
<label>Handle</label><br />
|
2024-09-27 20:39:56 +02:00
|
|
|
@php
|
|
|
|
isset($member->handle) ? $handle = $member->handle : $handle = '';
|
|
|
|
@endphp
|
|
|
|
<input type="text" name="handle" value="{{$handle}}" />
|
2024-09-25 00:21:59 +02:00
|
|
|
<br />
|
2024-09-27 20:39:56 +02:00
|
|
|
@php
|
|
|
|
isset($member->email) ? $email = $member->email : $email = '';
|
|
|
|
@endphp
|
2024-09-25 00:21:59 +02:00
|
|
|
<label>Email</label><br />
|
2024-09-27 20:39:56 +02:00
|
|
|
<input type="text" name="email" value="{{$email}}" />
|
2024-09-25 00:21:59 +02:00
|
|
|
<br />
|
2024-09-27 20:39:56 +02:00
|
|
|
@php
|
|
|
|
isset($member->pronoun) ? $pronoun = $member->pronoun : $pronoun = '';
|
|
|
|
@endphp
|
2024-09-25 00:21:59 +02:00
|
|
|
<label>Pronouns</label><br />
|
2024-09-27 20:39:56 +02:00
|
|
|
<input type="text" name="pronouns" value="{{$pronoun}}" />
|
2024-09-25 00:21:59 +02:00
|
|
|
<br />
|
2024-09-27 20:39:56 +02:00
|
|
|
@php
|
|
|
|
isset($member->role) ? $role = $member->role : $role = 2;
|
|
|
|
@endphp
|
2024-09-25 00:21:59 +02:00
|
|
|
<label>Role</label><br />
|
2024-09-27 20:39:56 +02:00
|
|
|
<input type="text" name="role" value="{{$role}}" />
|
2024-09-25 00:21:59 +02:00
|
|
|
<br />
|
2024-09-27 20:39:56 +02:00
|
|
|
@if($mode == 'member-create')
|
|
|
|
<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 />
|
|
|
|
@endif
|
|
|
|
@php
|
|
|
|
isset($member->active) ? $status = $member->active : $status = false;
|
|
|
|
@endphp
|
2024-09-25 00:21:59 +02:00
|
|
|
<label>Status</label><br />
|
|
|
|
<select name="status">
|
2024-09-27 20:39:56 +02:00
|
|
|
@if($status)
|
2024-09-25 00:21:59 +02:00
|
|
|
<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
|
2024-09-27 20:39:56 +02:00
|
|
|
@php
|
|
|
|
isset($member->uuid) ? $uuid = $member->uuid : $uuid = 0;
|
|
|
|
@endphp
|
|
|
|
<input type="hidden" name="id" value="{{$uuid}}" />
|
2024-09-25 00:21:59 +02:00
|
|
|
<input type="submit" value="Edit Member" name="submit_button">
|
|
|
|
</form>
|