aboutsummaryrefslogtreecommitdiff
path: root/app/templates/wtform.html
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-16 23:51:21 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-16 23:51:21 +0530
commitd20017680bf6e8dfd2e4bcd69654a545f9a8350c (patch)
tree796e228c567f34136941d68b0de100b0376a4f0e /app/templates/wtform.html
parent1b530ca5d1662df06b9d6d3fb5980bcfed1fda5e (diff)
added active link for all pages to navbar
added dropdowns removed starter files removed sentry completely
Diffstat (limited to 'app/templates/wtform.html')
-rw-r--r--app/templates/wtform.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/templates/wtform.html b/app/templates/wtform.html
deleted file mode 100644
index 6d9add5..0000000
--- a/app/templates/wtform.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% extends 'base.html' %}
-
-{% block main %}
- <h2>WTForms in Flask</h2>
- <p>Here we are using the Flask-WTF library to create and process a form. Flask-WTF also comes with CSRF protection and validation classes.</p>
- <form method="post" action="{{ url_for('wtform') }}">
- {% include 'flash_messages.html' %}
- {{ form.csrf_token }}
- <div class="form-group">
- {{ form.firstname.label }} {{ form.firstname(class="form-control") }}
- </div>
- <div class="form-group">
- {{ form.lastname.label }} {{ form.lastname(class="form-control") }}
- </div>
- <div class="form-group">
- {{ form.email.label }} {{ form.email(class="form-control", placeholder="jdoe@example.com") }}
- </div>
- <button type="submit" class="btn btn-primary">Submit</button>
-</form>
-{% endblock %} \ No newline at end of file