php short echo syntax
This commit is contained in:
parent
cb30f8d0e7
commit
573b4b0757
@ -36,7 +36,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
<?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
|
<?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
|
||||||
'options' => ['class' => 'form-control'],
|
'options' => ['class' => 'form-control'],
|
||||||
'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
|
'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
|
||||||
]); ?>
|
]) ?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>
|
<?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -30,7 +30,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
|
|
||||||
<?= $form->field($model, 'rememberMe', [
|
<?= $form->field($model, 'rememberMe', [
|
||||||
'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
|
'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
|
||||||
])->checkbox(); ?>
|
])->checkbox() ?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-lg-offset-1 col-lg-11">
|
<div class="col-lg-offset-1 col-lg-11">
|
||||||
|
Loading…
Reference in New Issue
Block a user