DateInput component is no longer being used

This commit is contained in:
George Drummond 2019-06-12 16:53:53 -04:00
parent aac02e8889
commit 49cd3830f6
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17
2 changed files with 0 additions and 11 deletions

View File

@ -1,10 +0,0 @@
{% from "components/text_input.html" import TextInput %}
{% macro DateInput(field, tooltip='', placeholder='', validation='anything', paragraph=False) -%}
{% if field.data %}
{% set input_value=field.data.strftime("%m/%d/%Y") %}
{% else %}
{% set input_value=None %}
{% endif %}
{{ TextInput(field, initial_value=input_value, tooltip=tooltip, placeholder=placeholder, validation=validation, paragraph=paragraph) }}
{% endmacro %}

View File

@ -1,6 +1,5 @@
{% from "components/text_input.html" import TextInput %}
{% from "components/options_input.html" import OptionsInput %}
{% from "components/date_input.html" import DateInput %}
{% from "components/phone_input.html" import PhoneInput %}
{% from "components/date_picker.html" import DatePicker %}
{% from 'components/save_button.html' import SaveButton %}