From fa26511500593de6d73551831575547d18076afe Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Wed, 25 Jul 2018 13:10:15 -0400 Subject: [PATCH] options input --- templates/components/options_input.html.to | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/components/options_input.html.to diff --git a/templates/components/options_input.html.to b/templates/components/options_input.html.to new file mode 100644 index 00000000..b12a1697 --- /dev/null +++ b/templates/components/options_input.html.to @@ -0,0 +1,24 @@ +
+
+ + {{ label }} + + {% if description %} + {% raw description %} + {% end %} + + {% if errors %} + {% module Icon('alert') %} + {% end %} + + + {% raw input() %} + + {% if errors %} + {% for error in errors %} + {{ error }} + {% end %} + {% end %} + +
+