File tree 3 files changed +6
-4
lines changed
assets/form-builder/js/forms
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ URLs for the translating tool:
67
67
'formsTable' => '{{%forms}}',
68
68
'formDataTable' => 'form_',
69
69
'sendEmail' => true,
70
+ 'testMode' => false,
71
+ 'easyMode' => true,
70
72
'emailSender' => 'info@email.net',
71
73
'rules' => [
72
74
[
Original file line number Diff line number Diff line change @@ -723,7 +723,7 @@ temp = [
723
723
"class" : "form-control" ,
724
724
"items" : [
725
725
{
726
- "text" : "2 000 000 > " ,
726
+ "text" : "> 2 000 000" ,
727
727
"value" : "2000000+"
728
728
} ,
729
729
{
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public function actionView(string $url) {
93
93
$ this ->sendEmail ($ data , $ form );
94
94
}
95
95
96
- return $ this ->redirect (['index ' ]);
96
+ return $ this ->redirect (['list ' , ' id ' => $ form -> form_id ]);
97
97
}
98
98
return $ this ->render ('view ' , [ 'form ' => $ form ] );
99
99
}
@@ -102,8 +102,8 @@ public function actionList(int $id) {
102
102
$ form = FormModel::findModel ($ id );
103
103
104
104
return $ this ->render ('list ' , [
105
- 'form ' => $ form ,
106
- 'dataProvider ' => new ActiveDataProvider ([
105
+ 'form ' => $ form ,
106
+ 'dataProvider ' => new ActiveDataProvider ([
107
107
'query ' => (new Query )->from ( $ this ->module ->formDataTable .$ id ),
108
108
'db ' => $ this ->module ->db
109
109
]),
You can’t perform that action at this time.
0 commit comments