Guest User

Untitled

a guest
Nov 18th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.77 KB | None | 0 0
  1. <select name="{{ year_field }}" id="{{ year_id }}"{% include "floppyforms/attrs.html" %}>{% for option in year_choices %}
  2.     <option value="{{ option.0 }}"{% if option.0 == year_val %} selected="selected"{% endif %}>{{ option.1 }}</option>{% endfor %}
  3. </select>
  4.  
  5. <select name="{{ month_field }}" id="{{ month_id }}"{% include "floppyforms/attrs.html" %}>{% for option in month_choices %}
  6.     <option value="{{ option.0 }}"{% if option.0 == month_val %} selected="selected"{% endif %}>{{ option.1 }}</option>{% endfor %}
  7. </select>
  8.  
  9. <select name="{{ day_field }}" id="{{ day_id }}"{% include "floppyforms/attrs.html" %}>{% for option in day_choices %}
  10.     <option value="{{ option.0 }}"{% if option.0 == day_val %} selected="selected"{% endif %}>{{ option.1 }}</option>{% endfor %}
  11. </select>
Add Comment
Please, Sign In to add comment