forked from projects/thebadspace
c5d1ab0266
Added the template for to display locations on the front end. Still need to add template for individual locations. Also added member editing. Still need to wire up the avatar uploading but adding and editing member information is possible. Still need to fine tune it according to roles
38 lines
1.2 KiB
Twig
38 lines
1.2 KiB
Twig
<form action="{{ path('den-members') }}" method="post" enctype="multipart/form-data">
|
|
<div>
|
|
<label>Handle</label><br/>
|
|
<input type="text" name="handle" value=""/>
|
|
<br/>
|
|
<label>Email</label><br/>
|
|
<input type="text" name="email" value=""/>
|
|
<br/>
|
|
<label>Gender</label><br/>
|
|
<select name="gender">
|
|
<option value="" disabled selected>Choose Gender
|
|
</option>
|
|
<option value="man">Man</option>
|
|
<option value="woman">Woman</option>
|
|
<option value="non_binary">Non-Binary</option>
|
|
</select>
|
|
<br/>
|
|
<label>Pronoun</label><br/>
|
|
<select name="pronoun">
|
|
<option value="" disabled selected>Choose Pronoun</option>
|
|
<option value="they/them">They/Them</option>
|
|
<option value="she/her">She/Her</option>
|
|
<option value="he/him">He/Him</option>
|
|
</select>
|
|
<br/>
|
|
<label>Role</label><br/>
|
|
<select name="role">
|
|
<option value="" disabled selected>Choose Role
|
|
</option>
|
|
<option value="1">Admin</option>
|
|
<option value="2">Editor</option>
|
|
<option value="3">Contributer</option>
|
|
</select>
|
|
</div>
|
|
<input type="hidden" name="token" value="{{ csrf_token('upload') }}"/>
|
|
<input type="hidden" name="mode" value="add"/>
|
|
<input type="submit" value="Add Member" name="submit_button"></form>
|