aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/select_timezone.tpl
blob: 2820a54f4b7a4aac4d46029205dafb9ce74d77f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{{* TODO: Make id configurabel *}}
<select id='timezone_select' name='timezone'>
{{foreach $continents as $continent => $cities}}
<optgroup label="{{$continent}}">
{{foreach $cities as $city => $value}}
<option value='{{$value}}' {{if $value == $selected}}selected='selected'{{/if}}>{{$city}}</option>
{{/foreach}}
</optgroup>
{{/foreach}}
</select>