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 6 use yii\helpers\Html;
7 7 use yii\web\View;
8 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 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 42 $form = ActiveForm::begin(
43 43 [
44 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 46 'class' => $this->classForm,
47 47 ]
48 48 );
... ...