{# Need to have the user input a color? Make use of the color picker here. Returns the color as a hexidecimal value. color_picker = a dictionary with configuration key-value pairs Example: In the controller, create a list of dictionaries where the dictionaries represent the attributes of each slider: c.color_picker = {'display_text': 'Color', 'name': 'color1', 'initial': '#ff0000', 'format': 'MM d yy', 'error': 'Here is my error text'} {% snippet "snippets/color_picker.html", color_picker=c.color_picker %} #}
{% if date_picker.error %} {{ date_picker.error }} {% endif %}