<div class="generic-content-wrapper-styled"> <h1>{{$title}}</h1> <br /> <div id="language-selector" > <form action="#" method="post" > <select name="system_language" onchange="this.form.submit();" > {{foreach $langs.0 as $v=>$l}} <option value="{{$v}}" {{if $v==$langs.1}}selected="selected"{{/if}}>{{$l}}</option> {{/foreach}} </select> </form> </div> </div>