From 72d63f82c9e380fc493b8b992651148a8302f1e8 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 25 Sep 2018 14:11:20 -0400 Subject: [PATCH] edit user form template --- templates/fragments/edit_user_form.html | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 templates/fragments/edit_user_form.html diff --git a/templates/fragments/edit_user_form.html b/templates/fragments/edit_user_form.html new file mode 100644 index 00000000..ed0ec406 --- /dev/null +++ b/templates/fragments/edit_user_form.html @@ -0,0 +1,38 @@ +{% from "components/text_input.html" import TextInput %} +{% from "components/options_input.html" import OptionsInput %} +{% from "components/date_input.html" import DateInput %} + +
+
+
+
+
+ {{ TextInput(form.first_name) }} +
+ +
+ {{ TextInput(form.last_name) }} +
+
+ +
+
+ {{ TextInput(form.email, validation='email') }} +
+ +
+ {{ TextInput(form.phone_number, validation='usPhone') }} +
+
+ + {{ OptionsInput(form.service_branch) }} + {{ OptionsInput(form.citizenship) }} + {{ OptionsInput(form.designation) }} + {{ DateInput(form.date_latest_training,tooltip="When was the last time you completed the IA training?
Information Assurance (IA) training is an important step in cyber awareness.",placeholder="MM / DD / YYYY", validation="date") }} +
+
+ +
+ +
+