ForRo/templates/forms/add-member-form.twig

38 lines
1.2 KiB
Twig
Raw Normal View History

<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>