thebadspace/templates/forms/add-location.twig

28 lines
910 B
Twig
Raw Normal View History

<form action="{{ path('location-add') }}" 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="submit" value="Edit Location" name="submit_button"></form>