Update login.php (#87)

It's more consistent definition
This commit is contained in:
Mikhail 2016-09-28 18:26:32 +03:00 committed by Carsten Brandt
parent 81700ad2b3
commit 2ce52fbcd3

View File

@ -17,7 +17,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $form = ActiveForm::begin([ <?php $form = ActiveForm::begin([
'id' => 'login-form', 'id' => 'login-form',
'options' => ['class' => 'form-horizontal'], 'layout' => 'horizontal',
'fieldConfig' => [ 'fieldConfig' => [
'template' => "{label}\n<div class=\"col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>", 'template' => "{label}\n<div class=\"col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
'labelOptions' => ['class' => 'col-lg-1 control-label'], 'labelOptions' => ['class' => 'col-lg-1 control-label'],