Reorganize macros into separate component files

Replace a few old UI Module instances with  macros
This commit is contained in:
Andrew Croce
2018-08-03 10:35:04 -04:00
committed by richard-dds
parent a0082a2ae2
commit 64b40c0cf3
29 changed files with 198 additions and 298 deletions

View File

@@ -1,6 +1,8 @@
{% extends 'requests_new.html' %}
{% from "components.html" import Alert, TextInput, OptionsInput %}
{% from "components/alert.html" import Alert %}
{% from "components/text_input.html" import TextInput %}
{% from "components/options_input.html" import OptionsInput %}
{% block subtitle %}
<h2>Details of Use</h2>

View File

@@ -1,6 +1,8 @@
{% extends 'requests_new.html' %}
{% from "components.html" import Alert, TextInput, OptionsInput %}
{% from "components/alert.html" import Alert %}
{% from "components/text_input.html" import TextInput %}
{% from "components/options_input.html" import OptionsInput %}
{% block subtitle %}
<h2>Information About You</h2>

View File

@@ -1,6 +1,7 @@
{% extends 'requests_new.html' %}
{% from "components.html" import Alert, TextInput %}
{% from "components/alert.html" import Alert %}
{% from "components/text_input.html" import TextInput %}
{% block subtitle %}
<h2>Primary Government/Military <br> Point of Contact (POC)</h2>

View File

@@ -1,6 +1,7 @@
{% extends 'requests_new.html' %}
{% from "components.html" import Alert, TextInput %}
{% from "components/alert.html" import Alert %}
{% from "components/text_input.html" import TextInput %}
{% block subtitle %}
<h2>Review &amp; Submit</h2>

View File

@@ -1,5 +1,7 @@
{% extends '../requests_new.html.to' %}
{% from "components/alert.html" import Alert %}
{% block form %}
{% if f.errors %}