diff --git a/app/Http/Resources/FormResource.php b/app/Http/Resources/FormResource.php index 5a07aaa..28e3b00 100644 --- a/app/Http/Resources/FormResource.php +++ b/app/Http/Resources/FormResource.php @@ -77,16 +77,22 @@ class FormResource extends JsonResource return [ 'id' => $this->id, 'title' => $this->title, + 'description' => $this->description, 'slug' => $this->slug, 'custom_code' => $this->custom_code, 'dark_mode' => $this->dark_mode, 'transparent_background' => $this->transparent_background, 'color' => $this->color, + 'theme' => $this->theme, 'is_password_protected' => true, 'has_password' => $this->has_password, 'width' => 'centered', 'no_branding' => $this->no_branding, - 'properties' => [] + 'properties' => [], + 'logo_picture' => $this->logo_picture, + 'seo_meta' => $this->seo_meta, + 'cover_picture' => $this->cover_picture, + ]; } diff --git a/client/components/open/forms/OpenCompleteForm.vue b/client/components/open/forms/OpenCompleteForm.vue index f3db190..efbb131 100644 --- a/client/components/open/forms/OpenCompleteForm.vue +++ b/client/components/open/forms/OpenCompleteForm.vue @@ -1,6 +1,8 @@ - + + + + + View form + + + @@ -133,7 +151,6 @@ - @@ -185,4 +202,8 @@ const deleteForm = () => { loadingDelete.value = false }) } + +const showDraftFormWarningNotification = () => { + useAlert().warning('This form is currently in Draft mode and is not publicly accessible, You can change the form status on the edit form page.') +} diff --git a/client/pages/forms/[slug]/show.vue b/client/pages/forms/[slug]/show.vue index 1ba1340..deaba9b 100644 --- a/client/pages/forms/[slug]/show.vue +++ b/client/pages/forms/[slug]/show.vue @@ -22,7 +22,22 @@
- +