Skip to content

Commit

Permalink
Dev: Smaller width for language changer, using col system
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Apr 19, 2016
1 parent 3269ade commit 3af5918
Showing 1 changed file with 9 additions and 5 deletions.
Expand Up @@ -10,13 +10,17 @@
?>

<!-- views/survey/system/LanguageChanger -->
<div class="form-group">
<label for="langchanger" class="control-label">
<div class="form-group form-horizontal">
<label for="langchanger" class="col-xs-4 control-label">
<?php eT("Select language:");?>
</label>

<?php echo CHtml::dropDownList('langchanger', $sSelected,$aListLang,array('class'=>$sClass,'data-targeturl'=>$sTargetURL));?>
<!-- We don't have to add this button if in previewmode -->
<?php echo CHtml::htmlButton(gT("Change the language"),array('type'=>'submit','id'=>"changelangbtn",'value'=>'changelang','name'=>'changelang','class'=>'changelang jshide btn btn-default')); ?>
<div class='col-xs-4'>
<?php echo CHtml::dropDownList('langchanger', $sSelected,$aListLang,array('class'=>$sClass,'data-targeturl'=>$sTargetURL));?>
</div>
<div class='col-xs-4'>
<!-- We don't have to add this button if in previewmode -->
<?php echo CHtml::htmlButton(gT("Change the language"),array('type'=>'submit','id'=>"changelangbtn",'value'=>'changelang','name'=>'changelang','class'=>'changelang jshide btn btn-default')); ?>
</div>
</div>
<!-- end of views/survey/system/LanguageChanger -->

0 comments on commit 3af5918

Please sign in to comment.