Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <select name="{{ year_field }}" id="{{ year_id }}"{% include "floppyforms/attrs.html" %}>{% for option in year_choices %}
- <option value="{{ option.0 }}"{% if option.0 == year_val %} selected="selected"{% endif %}>{{ option.1 }}</option>{% endfor %}
- </select>
- <select name="{{ month_field }}" id="{{ month_id }}"{% include "floppyforms/attrs.html" %}>{% for option in month_choices %}
- <option value="{{ option.0 }}"{% if option.0 == month_val %} selected="selected"{% endif %}>{{ option.1 }}</option>{% endfor %}
- </select>
- <select name="{{ day_field }}" id="{{ day_id }}"{% include "floppyforms/attrs.html" %}>{% for option in day_choices %}
- <option value="{{ option.0 }}"{% if option.0 == day_val %} selected="selected"{% endif %}>{{ option.1 }}</option>{% endfor %}
- </select>
Add Comment
Please, Sign In to add comment