php short echo syntax
This commit is contained in:
parent
cb30f8d0e7
commit
573b4b0757
@ -33,10 +33,10 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
<?= $form->field($model, 'email') ?>
|
<?= $form->field($model, 'email') ?>
|
||||||
<?= $form->field($model, 'subject') ?>
|
<?= $form->field($model, 'subject') ?>
|
||||||
<?= $form->field($model, 'body')->textArea(['rows' => 6]) ?>
|
<?= $form->field($model, 'body')->textArea(['rows' => 6]) ?>
|
||||||
<?=$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>
|
||||||
|
@ -28,9 +28,9 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
|
|
||||||
<?= $form->field($model, 'password')->passwordInput() ?>
|
<?= $form->field($model, 'password')->passwordInput() ?>
|
||||||
|
|
||||||
<?=$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