Skip to content

Commit

Permalink
Dev: added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 20, 2017
1 parent f0fa235 commit dc2a818
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/default/views/subviews/language_changer.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
(¯`·._.·(¯`·._.· Language Changer ·._.·´¯)·._.·´¯)
Show a language changer inside the form.
Show a language changer inside the main container.
It uses the Yii helper CHtml::dropDownList().
@see: http://www.yiiframework.com/wiki/48/by-example-chtml/#hh5
Expand All @@ -36,6 +37,7 @@
}
%}

{# When the language changer is shown outside of the main form, like in the welcome page, it must have its own form. #}
{% if aLCD.withForm == true %}
<form method="get" class="ls-languagechanger-form">
{% endif %}
Expand Down

0 comments on commit dc2a818

Please sign in to comment.