3 <script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
5 <div class="field select">
6 <label for="id_{{$field.0}}">{{$field.1}}</label>
7 <select name="{{$field.0}}" id="id_{{$field.0}}" {{if $field.5}}onchange="previewTheme(this);"{{/if}} aria-describedby="{{$field.0}}_tip">
8 {{foreach $field.4 as $opt=>$val}}
9 <option value="{{$opt}}" dir="auto"{{if $opt==$field.2}} selected="selected"{{/if}}>{{$val}}</option>
13 <span class="field_help" role="tooltip" id="{{$field.0}}_tip">{{$field.3 nofilter}}</span>
16 <div id="theme-preview"></div>