From 19acc4cf99810d98378c117e76feaf960b2040d5 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 5 Nov 2025 11:44:09 +0100 Subject: [PATCH] wip #7822 @0:30 --- app/Models/FluidbookCollection.php | 7 +++++-- .../views/vendor/backpack/crud/form_content.blade.php | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/Models/FluidbookCollection.php b/app/Models/FluidbookCollection.php index 35473fa08..739cf114c 100644 --- a/app/Models/FluidbookCollection.php +++ b/app/Models/FluidbookCollection.php @@ -116,19 +116,22 @@ class FluidbookCollection extends ToolboxStatusModel $this->addField('search_host', Text::class, __('Hôte'), ['when' => ['search' => 'typesense']]); $this->addField('search_key', Text::class, __('Clé API'), ['when' => ['search' => 'typesense']]); $this->addField('sep_pubs', FormSeparator::class); - $this->addField('start_group', FieldGroupStart::class, '', []); + $this->addField('group_actions_auditlinks', FieldGroupStart::class, '', []); $this->addField('enable_audit', Checkbox::class, __('Activer l’audit des liens'), ['default' => false]); $this->addField('download_audit', LinkButton::class, __('Télécharger l\'audit'), [ 'when' => ["enable_audit" => 1], 'value' => './export_excel', 'translatable' => false, + 'wrapperAttributes' => [ + 'class' => 'form-group col-auto' + ] ]); $this->addField('update_collection', LinkButton::class, __('Mettre à jour les publications'), [ 'when' => ["enable_audit" => 1], 'value' => '#', 'translatable' => false, 'wrapperAttributes' => [ - 'class' => 'p-0' + 'class' => 'form-group col-auto p-0' ] ] ); diff --git a/resources/views/vendor/backpack/crud/form_content.blade.php b/resources/views/vendor/backpack/crud/form_content.blade.php index 795d25b54..5f2eb7b73 100644 --- a/resources/views/vendor/backpack/crud/form_content.blade.php +++ b/resources/views/vendor/backpack/crud/form_content.blade.php @@ -30,7 +30,11 @@ {{-- CRUD FORM CONTENT - crud_fields_styles stack --}} @stack('crud_fields_styles') - + @endsection @section('after_scripts') -- 2.39.5