|
23 | 23 | </span>
|
24 | 24 | </label>
|
25 | 25 |
|
26 |
| - {% if lookups.substructure %} |
27 |
| - <label class="homepage__field"> |
28 |
| - In particular |
29 |
| - <span class="homepage__select"> |
30 |
| - <select name="substructure"> |
31 |
| - <option value="">Any type</option> |
32 |
| - {% for code, title, disabled in lookups.substructure %} |
33 |
| - <option {% if query.substructure == code %}selected{% elif disabled %}disabled{% endif %} value="{{ code }}">{% if title|slice:"1" in "AEIOU" %}An{%else%}A{%endif%} {{ title|lower }}</option> |
34 |
| - {% endfor %} |
35 |
| - </select> |
36 |
| - </span> |
37 |
| - </label> |
38 |
| - {% endif %} |
39 |
| - |
40 | 26 | <label class="homepage__field">
|
41 | 27 | Registered in
|
42 | 28 | <span class="homepage__select">
|
|
49 | 35 | </span>
|
50 | 36 | </label>
|
51 | 37 |
|
52 |
| - {% if lookups.subnational %} |
53 |
| - <label class="homepage__field"> |
54 |
| - In the state or region of |
55 |
| - <span class="homepage__select"> |
56 |
| - <select name="subnational"> |
57 |
| - <option value="">Any subnational location</option> |
58 |
| - {% for code, title, disabled in lookups.subnational %} |
59 |
| - <option {% if query.subnational == code %}selected{% elif disabled %}disabled{% endif %} value="{{ code }}">{{ title }}</option> |
60 |
| - {% endfor %} |
61 |
| - </select> |
62 |
| - </span> |
63 |
| - </label> |
64 |
| - {% endif %} |
65 |
| - |
66 | 38 | <label class="homepage__field">
|
67 | 39 | Working in
|
68 | 40 | <span class="homepage__select">
|
69 | 41 | <select name="sector" >
|
70 | 42 | <option value="">Any sector</option>
|
71 | 43 | {% for code, title, disabled in lookups.sector %}
|
72 |
| - <option {% if query.sector == code %}selected{% elif disabled %}disabled{% endif %} value="{{ code }}">{{ title }}</option> |
| 44 | + <option {% if query.sector == code %}selected{% elif disabled %}disabled{% endif %} value="{{ code }}">{{ title }}</option> |
73 | 45 | {% endfor %}
|
74 | 46 | </select>
|
75 | 47 | </span>
|
|
0 commit comments