thebadspace/templates/forms/add-location.twig
Ro 735117fcda CSS Reshuffle, Added Page Renderer
Reorganized the CSS structure to there is some seperation between front
facing style and the backend den.

Also add the Render class so auth status is included in every template
rendering event so login status and select member data is available if
needed. will expand if needed.
2023-01-08 14:28:25 -08:00

29 lines
961 B
Twig

<form action="{{ path('location-modify') }}" method="post" enctype="multipart/form-data">
<div>
<label>Name</label><br/>
<input type="text" name="loc_name" value=""/>
<br/>
<label>URL</label><br/>
<input type="text" name="loc_url" value=""/>
<br/>
<label>Tags</label><br/>
<input type="text" name="loc_tags" value=""/>
<br/>
<label>Description</label><br/>
<textarea name="loc_desc"></textarea>
<br/>
<label>Rating</label><br/>
<select name="rating">
<option value="" disabled selected>Choose Rating
</option>
<option value="silence">Silence</option>
<option value="defederate">Defederate</option>
</select>
<br/>
<label>Images</label><br/>
<input type="file" id="loc_examples" name="loc_examples[]" multiple/>
</div>
<input type="hidden" name="token" value="{{ csrf_token('upload') }}"/>
<input type="hidden" name="mode" value="add"/>
<input type="submit" value="Edit Location" name="submit_button"></form>