-
Entry Details
+
{{ __('Entry Details') }}
- Form:
+ {{ __('Form') }}:
{{ $response->form->name ?? '' }}
diff --git a/resources/views/themes/zeus/submitted.blade.php b/resources/views/themes/zeus/submitted.blade.php
index bd49482b..d0ed9dcb 100644
--- a/resources/views/themes/zeus/submitted.blade.php
+++ b/resources/views/themes/zeus/submitted.blade.php
@@ -9,8 +9,8 @@
{!! $form->options['confirmationMessage'] !!}
@else
- the form {{ $form->name ?? '' }} submitted successfully.
-
+ {{ __('the form') }} {{ $form->name ?? '' }} {{ __('submitted successfully') }}.
+
@endif
diff --git a/src/Facades/Bolt.php b/src/Facades/Bolt.php
index 4f5781d3..ecf20608 100644
--- a/src/Facades/Bolt.php
+++ b/src/Facades/Bolt.php
@@ -92,10 +92,10 @@ public static function prepareFieldsAndSectionToRender($zeusForm, $item): array
$fields[] = static::renderHook('zeus-form-section.before');
- if ($item !== null && $countSections === 1) {
+ /*if ($item !== null && $countSections === 1) {
// todo adding title comment if there is an extension, extensions should define their own fields somehow
$fields[] = TextInput::make('itemData.title')->label(__('Ticket Title'))->required();
- }
+ }*/
foreach ($section->fields()->orderBy('ordering')->get() as $zeusField) {
$fields[] = static::renderHook('zeus-form-field.before');
diff --git a/src/Filament/Resources/CategoryResource.php b/src/Filament/Resources/CategoryResource.php
index c2ec81d0..ae287666 100644
--- a/src/Filament/Resources/CategoryResource.php
+++ b/src/Filament/Resources/CategoryResource.php
@@ -51,7 +51,7 @@ public static function form(Form $form): Form
->required()
->maxLength(255)
->reactive()
- ->label(__('name'))
+ ->label(__('Name'))
->afterStateUpdated(function (Closure $set, $state, $context) {
if ($context === 'edit') {
return;
@@ -60,7 +60,7 @@ public static function form(Form $form): Form
}),
TextInput::make('slug')->required()->maxLength(255)->label(__('slug')),
TextInput::make('ordering')->required()->numeric()->label(__('ordering')),
- Toggle::make('is_active')->label(__('is_active'))->default(1),
+ Toggle::make('is_active')->label(__('Is Active'))->default(1),
Textarea::make('desc')->maxLength(65535)->columnSpan(['sm' => 2])->label(__('Description')),
FileUpload::make('logo')
->disk(config('zeus-bolt.uploads.disk', 'public'))
diff --git a/src/Filament/Resources/FormResource/Schemata.php b/src/Filament/Resources/FormResource/Schemata.php
index 05bebb5d..3e40981a 100644
--- a/src/Filament/Resources/FormResource/Schemata.php
+++ b/src/Filament/Resources/FormResource/Schemata.php
@@ -91,14 +91,14 @@ public static function getTabsSchema(): array
->helperText(__('a highlighted section above the form, to show some instructions or more details')),
RichEditor::make('options.confirmation-message')
->label(__('Confirmation Message'))
- ->helperText(__('optional, show a massage whenever any one submit a new entery')),
+ ->helperText(__('optional, show a massage whenever any one submit a new entry')),
]),
Tabs\Tab::make('display-access')
->label(__('Display & Access'))
->columns(2)
->schema([
Toggle::make('is_active')
- ->label(__('is_active'))
+ ->label(__('Is Active'))
->default(1)
->helperText(__('Activate the form and let users start submissions')),
Toggle::make('options.show-as-wizard')
@@ -177,7 +177,6 @@ public static function getSectionsSchema(): array
public static function getFieldsSchema(): array
{
return [
-
Tabs::make('fields')
->tabs([
Tabs\Tab::make('type-text')
diff --git a/src/Http/Livewire/ListEntries.php b/src/Http/Livewire/ListEntries.php
index 3dbd567c..b7458afa 100644
--- a/src/Http/Livewire/ListEntries.php
+++ b/src/Http/Livewire/ListEntries.php
@@ -55,7 +55,7 @@ public function render()
->twitter();
return view(app('bolt-theme') . '.list-entries')
- ->with('tickets', config('zeus-bolt.models.Response')::where('user_id', auth()->user()->id)->get())
+ //->with('tickets', config('zeus-bolt.models.Response')::where('user_id', auth()->user()->id)->get())
->layout(config('zeus-bolt.layout'));
}
}
diff --git a/src/Models/FormsStatus.php b/src/Models/FormsStatus.php
index 5de38fba..9c88d355 100644
--- a/src/Models/FormsStatus.php
+++ b/src/Models/FormsStatus.php
@@ -14,7 +14,7 @@ public function getRows()
[
'key' => 'NEW',
'label' => __('New'),
- 'desc' => 'used when a new ticket created by the user or an employee',
+ 'desc' => 'used when a new form created by the user or an employee',
'color' => 'primary',
'icon' => 'heroicon-o-document',
'class' => 'px-2 py-0.5 text-xs rounded-xl text-primary-700 bg-primary-500/10',
@@ -22,7 +22,7 @@ public function getRows()
[
'key' => 'CLOSE',
'label' => __('closed'),
- 'desc' => 'used when a new ticket created by the user or an employee',
+ 'desc' => 'used when a new form created by the user or an employee',
'color' => 'primary',
'icon' => 'heroicon-o-document',
'class' => 'px-2 py-0.5 text-xs rounded-xl text-secondary-700 bg-secondary-500/10',