Commit 2097a1ea48dbf6204d34e0cf82f77d441395e217

Authored by alex
1 parent c7f97c88

fix1

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
frontend/modules/forms/Module.php
@@ -6,7 +6,7 @@ namespace frontend\modules\forms; @@ -6,7 +6,7 @@ namespace frontend\modules\forms;
6 use yii\helpers\Html; 6 use yii\helpers\Html;
7 use yii\web\View; 7 use yii\web\View;
8 use yii\widgets\ActiveForm; 8 use yii\widgets\ActiveForm;
9 -use artbox\core\forms\Module as CoreModule; 9 +use yii\base\Module as YiiModule;
10 10
11 11
12 /** 12 /**
@@ -17,7 +17,7 @@ use artbox\core\forms\Module as CoreModule; @@ -17,7 +17,7 @@ use artbox\core\forms\Module as CoreModule;
17 * Класс, который немного видоизменяет вывод формы контактов для того, чтобы в ней появилась гугловая рекапча 17 * Класс, который немного видоизменяет вывод формы контактов для того, чтобы в ней появилась гугловая рекапча
18 * 18 *
19 */ 19 */
20 -class Module extends CoreModule 20 +class Module extends YiiModule
21 { 21 {
22 22
23 23
@@ -42,7 +42,7 @@ JS; @@ -42,7 +42,7 @@ JS;
42 $form = ActiveForm::begin( 42 $form = ActiveForm::begin(
43 [ 43 [
44 'id' => $this->formId, 44 'id' => $this->formId,
45 - 'action' => ($this->ajax) ? '/save/ajax' : '/' . $this->id . '/save/no-ajax', 45 + 'action' => ($this->ajax) ? '/' . $this->id . '/save/ajax' : '/' . $this->id . '/save/no-ajax',
46 'class' => $this->classForm, 46 'class' => $this->classForm,
47 ] 47 ]
48 ); 48 );