thebadspace/templates/forms/bulk-add-location.twig

17 lines
585 B
Twig
Raw Normal View History

<form action="{{ path('location-bulk-add') }}" method="post" enctype="multipart/form-data">
<label for="myfile">Upload CSV</label>
<br>
<input type="file" name="myfile" id="myfile"></div>
<br/>
<label>Input Type</label><br/>
<select name="input_type">
<option value="" disabled selected>Choose Upload Type
</option>
<option value="tbs">The Bad Space Custom</option>
<option value="fedifence">Fedifence</option>
</select>
<br/>
<input type="hidden" name="token" value="{{ csrf_token('upload') }}"/>
<button type="submit">Upload Locations</button>
</form>