{% extends 'base.html' %} {% block main %} <h2>Basic Form in Flask</h2> <form action="{{ url_for('basic_form') }}" method="post"> {% include 'flash_messages.html' %} <div class="form-group"> <label for="firstname">First Name</label> <input type="text" class="form-control" name="firstname" id="firstname" /> </div> <div class="form-group"> <label for="lastname">Last Name</label> <input type="text" class="form-control" name="lastname" id="lastname" /> </div> <div class="form-group"> <label for="email">E-mail</label> <input type="email" class="form-control" name="email" id="email" placeholder="jdoe@example.com" /> </div> <button type="submit" class="btn btn-primary">Submit</button> </form> {% endblock %}