{#
    LimeSurvey
    Copyright (C) 2007-2017 The LimeSurvey Project Team / Louis Gac
    All rights reserved.
    License: GNU/GPL License v2 or later, see LICENSE.php
    LimeSurvey is free software. This version may have been modified pursuant
    to the GNU General Public License, and as distributed it includes or
    is derivative of works licensed under the GNU General Public License or
    other free or open source software licenses.
    See COPYRIGHT.php for copyright notices and details.

    (¯`·._.·(¯`·._.· Language Changer  ·._.·´¯)·._.·´¯)

    This file renders language changer inside the main container when multiple survey languages are available.

    It uses the Yii helper CHtml::dropDownList().
    @see: http://www.yiiframework.com/wiki/48/by-example-chtml/#hh5

#}
{% if aSurveyInfo.alanguageChanger.show == true %}
    {% set htmlOptions = {
        'id'          : 'firstpage-changelang',
        'autocomplete': 'off',
        'class'       : 'form',
    } %}

    <!-- Start of language change Form-->
    {{ C.Html.form(
        ( aSurveyInfo.surveyUrl ),
    'post',
    (htmlOptions)
    ) }}


    {{ include('./subviews/navigation/language_changer.twig') }}

    </form>
{% endif %}


