Commit e4531ac 1 parent 000b65d commit e4531ac Copy full SHA for e4531ac
File tree 2 files changed +12
-6
lines changed
client/components/open/forms
2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -77,16 +77,22 @@ private function getProtectedForm()
77
77
return [
78
78
'id ' => $ this ->id ,
79
79
'title ' => $ this ->title ,
80
+ 'description ' => $ this ->description ,
80
81
'slug ' => $ this ->slug ,
81
82
'custom_code ' => $ this ->custom_code ,
82
83
'dark_mode ' => $ this ->dark_mode ,
83
84
'transparent_background ' => $ this ->transparent_background ,
84
85
'color ' => $ this ->color ,
86
+ 'theme ' => $ this ->theme ,
85
87
'is_password_protected ' => true ,
86
88
'has_password ' => $ this ->has_password ,
87
89
'width ' => 'centered ' ,
88
90
'no_branding ' => $ this ->no_branding ,
89
- 'properties ' => []
91
+ 'properties ' => [],
92
+ 'logo_picture ' => $ this ->logo_picture ,
93
+ 'seo_meta ' => $ this ->seo_meta ,
94
+ 'cover_picture ' => $ this ->cover_picture ,
95
+
90
96
];
91
97
}
92
98
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div v-if =" form" class =" open-complete-form" >
3
3
<h1 v-if =" !isHideTitle" class =" mb-4 px-2" :class =" {'mt-4':isEmbedPopup}" v-text =" form.title" />
4
+ <div v-if =" form.description" v-html =" form.description"
5
+ class =" form-description mb-4 text-gray-700 dark:text-gray-300 whitespace-pre-wrap px-2" />
4
6
5
7
<div v-if =" isPublicFormPage && form.is_password_protected" >
6
8
<p class =" form-description mb-4 text-gray-700 dark:text-gray-300 px-2" >
7
9
This form is protected by a password.
8
10
</p >
9
11
<div class =" form-group flex flex-wrap w-full" >
10
12
<div class =" relative mb-3 w-full px-2" >
11
- <text-input :form =" passwordForm" name =" password" native-type =" password" label =" Password" />
13
+ <text-input :theme = " theme " : form =" passwordForm" name =" password" native-type =" password" label =" Password" />
12
14
</div >
13
15
</div >
14
16
<div class =" flex flex-wrap justify-center w-full text-center" >
15
- <v- button @click =" passwordEntered" >
17
+ <open-form- button :theme = " theme " :color = " form.color " class = " my-4 " @click =" passwordEntered" >
16
18
Submit
17
- </v -button >
19
+ </open-form -button >
18
20
</div >
19
21
</div >
20
22
62
64
mode =" out-in"
63
65
>
64
66
<div v-if =" !submitted" key =" form" >
65
- <div v-if =" form.description" v-html =" form.description"
66
- class =" form-description mb-4 text-gray-700 dark:text-gray-300 whitespace-pre-wrap px-2" />
67
67
<open-form v-if =" form"
68
68
:form =" form"
69
69
:loading =" loading"
You can’t perform that action at this time.
0 commit comments