Initial cleanup of the codebase
Change-Id: Idbc92ea3c2d7ee4d4807d1d83ceee9a299b9a9f7
diff --git a/service/app/templates/forms.html b/service/app/templates/forms.html
new file mode 100644
index 0000000..1ecf2b1
--- /dev/null
+++ b/service/app/templates/forms.html
@@ -0,0 +1,20 @@
+<fieldset>
+ {{ form.hidden_tag() }}
+ {% for field in form %}
+ <div class="pure-control-group">
+ {% if field.id != 'csrf_token' %}
+ {{ field.label(class_='label-control text-capitalize') }}
+ {% if field.id != 'confirm' and field.type != 'radio' %}
+ {{ field(class_='form-control') }}
+ {% elif field.id == 'confirm' %}
+ <span style="padding:25pt;">
+ {{ field(class_='form-control') }}
+ </span>
+ {% elif field.type == 'radio' %}
+ {{ field(class_='radio-inline') }}
+ {% endif %}
+ {% endif %}
+ </div>
+ {% endfor %}
+ <button type="submit" style="margin:10pt auto;" class="btn btn-primary text-capitalize">{{ submit }}</button>
+</fieldset>
\ No newline at end of file