1<form action="{% url 'submit' %}" method="POST" enctype="multipart/form-data">
2 {% csrf_token %}
3 <div class="mb-3">
4 <label for="formFile" class="form-label">Image</label>
5 <input class="form-control" type="file" id="formFile" name="image" accept="image/*">
6 </div>
7
8 <button class="btn btn-outline-info" type="submit">Submit</button>
9</form>