fix formatting

This commit is contained in:
Antonio Ramirez
2016-12-14 02:50:12 +01:00
parent f3f4b31bb4
commit 3ba01b4674
140 changed files with 512 additions and 523 deletions

View File

@ -3,7 +3,7 @@
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/**
/*
* @var yii\web\View $this
* @var yii\widgets\ActiveForm $form
* @var \Da\User\Form\SettingsForm $model
@ -27,13 +27,13 @@ $this->params['breadcrumbs'][] = $this->title;
</div>
<div class="panel-body">
<?php $form = ActiveForm::begin([
'id' => $model->formName(),
'options' => ['class' => 'form-horizontal'],
'id' => $model->formName(),
'options' => ['class' => 'form-horizontal'],
'fieldConfig' => [
'template' => "{label}\n<div class=\"col-lg-9\">{input}</div>\n<div class=\"col-sm-offset-3 col-lg-9\">{error}\n{hint}</div>",
'template' => "{label}\n<div class=\"col-lg-9\">{input}</div>\n<div class=\"col-sm-offset-3 col-lg-9\">{error}\n{hint}</div>",
'labelOptions' => ['class' => 'col-lg-3 control-label'],
],
'enableAjaxValidation' => true,
'enableAjaxValidation' => true,
'enableClientValidation' => false,
]); ?>
@ -69,8 +69,8 @@ $this->params['breadcrumbs'][] = $this->title;
<?= Yii::t('user', 'Please be certain') ?>.
</p>
<?= Html::a(Yii::t('user', 'Delete account'), ['delete'], [
'class' => 'btn btn-danger',
'data-method' => 'post',
'class' => 'btn btn-danger',
'data-method' => 'post',
'data-confirm' => Yii::t('user', 'Are you sure? There is no going back'),
]) ?>
</div>