abiao 5 anni fa
parent
commit
f7a9dd7a0f
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      webApp/backend/views/site/login.php

+ 4 - 2
webApp/backend/views/site/login.php

@@ -71,7 +71,8 @@ $this->params['breadcrumbs'][] = $this->title;
             <?= $form->field($model, 'password', ['template' => "<div style='position:relative'>{input}\n{error}\n{hint}</div>"])
                 ->passwordInput(['placeholder' => Yii::t("app", "Password")]) ?>
 
-          <!--  --><?/*= $form->field($model, 'captcha', ['template' => '<div style="position:relative">{input}{error}{hint}</div>'])->widget(Captcha::classname(), [
+         <?
+         /*= $form->field($model, 'captcha', ['template' => '<div style="position:relative">{input}{error}{hint}</div>'])->widget(Captcha::classname(), [
                 'template' => '{input}{image}',
                 'options' => [
                     "class"=>"form-control",
@@ -81,7 +82,8 @@ $this->params['breadcrumbs'][] = $this->title;
                 'imageOptions' => [
                     "style" => "cursor:pointer;right:0px"
                 ]
-            ]) */?>
+            ]) */
+         ?>
             <?= Html::submitButton(Yii::t("app", "Login"), [
                 'class' => 'btn btn-primary block full-width m-b',
                 'name' => 'login-button'