spiderweb/templates/form.html

22 lines
895 B
HTML
Raw Normal View History

{% extends 'base.html' %}
{% block content %}
<form action="" method="post">
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label">Email address</label>
<input type="email" class="form-control" name="email" id="exampleFormControlInput1" placeholder="name@example.com">
</div>
<div class="mb-3">
<label for="exampleFormControlTextarea1" class="form-label">Example textarea</label>
<textarea class="form-control" name="comment" id="exampleFormControlTextarea1" rows="3"></textarea>
</div>
<div class="mb-3 form-check">
<input type="checkbox" name="formcheck" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<!-- {{ csrf_token }}-->
<button type="submit" class="btn btn-primary">Submit</button>
</form>
{% endblock %}