diff --git a/lang/en/messages.php b/lang/en/messages.php index 612380ebd1..bbc0d0a090 100644 --- a/lang/en/messages.php +++ b/lang/en/messages.php @@ -139,6 +139,14 @@ 'form_configure_generate_fake_submissions_instructions' => 'Allow generating fake submissions and workflow testing from the submissions screen.', 'form_configure_store_instructions' => 'Disable to stop storing submissions. Events and email notifications will still be sent.', 'form_configure_title_instructions' => 'Use a call to action, such as \'Contact Us\'.', + 'form_configure_close_date_instructions' => 'The form will stop accepting submissions after this date. Leave blank to never close.', + 'form_configure_submission_limit_instructions' => 'The maximum number of submissions to accept. Leave blank for no limit.', + 'form_configure_submission_limit_period_instructions' => 'How often the submission limit resets.', + 'form_configure_closed_message_instructions' => 'Shown when the form is closed or the submission limit has been reached. Leave blank to use the default message.', + 'form_configure_require_login_instructions' => 'Only allow logged in users to submit this form.', + 'form_configure_require_login_message_instructions' => 'Shown when a logged out visitor tries to submit the form. Leave blank to use the default message.', + 'form_closed_message' => 'This form is no longer accepting submissions.', + 'form_require_login_message' => 'You must be logged in to submit this form.', 'form_create_description' => 'Get started by creating your first form.', 'form_builder' => 'Form Builder', 'form_export_filtered_description' => 'Exports submissions with current filters and visible columns.', diff --git a/resources/js/components/forms/FormStatusIndicator.vue b/resources/js/components/forms/FormStatusIndicator.vue new file mode 100644 index 0000000000..3382713999 --- /dev/null +++ b/resources/js/components/forms/FormStatusIndicator.vue @@ -0,0 +1,33 @@ + + + diff --git a/resources/js/pages/forms/Builder.vue b/resources/js/pages/forms/Builder.vue index 902a7ad7d1..a9c96706f3 100644 --- a/resources/js/pages/forms/Builder.vue +++ b/resources/js/pages/forms/Builder.vue @@ -20,7 +20,8 @@ export const [injectBuilderContext, provideBuilderContext] = createContext('Form