Skip to content

Commit e6ae495

Browse files
johnweselygithub-actions[bot]
authored andcommitted
Fix styling
1 parent 9dee93c commit e6ae495

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/Filament/Resources/FilamentFormResource/RelationManagers/FilamentFormFieldsRelationManager.php

+15-15
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
namespace Tapp\FilamentFormBuilder\Filament\Resources\FilamentFormResource\RelationManagers;
44

5-
use Filament\Tables;
6-
use Filament\Forms\Get;
7-
use Filament\Forms\Form;
8-
use Filament\Tables\Table;
9-
use Filament\Tables\Actions\Action;
105
use Filament\Forms\Components\Select;
6+
use Filament\Forms\Components\TagsInput;
7+
use Filament\Forms\Components\TextInput;
118
use Filament\Forms\Components\Toggle;
9+
use Filament\Forms\Form;
10+
use Filament\Forms\Get;
11+
use Filament\Resources\RelationManagers\RelationManager;
12+
use Filament\Tables;
13+
use Filament\Tables\Actions\Action;
1214
use Filament\Tables\Columns\IconColumn;
1315
use Filament\Tables\Columns\TextColumn;
16+
use Filament\Tables\Table;
1417
use Illuminate\Database\Eloquent\Model;
15-
use Filament\Forms\Components\TagsInput;
16-
use Filament\Forms\Components\TextInput;
17-
use Filament\Resources\RelationManagers\RelationManager;
1818
use Tapp\FilamentFormBuilder\Enums\FilamentFieldTypeEnum;
1919

2020
class FilamentFormFieldsRelationManager extends RelationManager
@@ -84,14 +84,14 @@ public function table(Table $table): Table
8484
->headerActions([
8585
Tables\Actions\CreateAction::make()
8686
->visible(function () use ($form) {
87-
!$form->locked;
87+
! $form->locked;
8888
})
8989
->label('Create Field'),
9090
Action::make('lock_fields')
9191
->requiresConfirmation()
9292
->modalHeading('Lock Form Fields. Doing this will lock the forms fields and new fields will no longer be able to be changed or edited')
9393
->visible(function () use ($form) {
94-
!$form->locked;
94+
! $form->locked;
9595
})
9696
->action(function () use ($form) {
9797
$form->update([
@@ -102,29 +102,29 @@ public function table(Table $table): Table
102102
->requiresConfirmation()
103103
->modalHeading('Unlock Form Fields. Changing fields after entries has been made can cause inconsistencies for prexisting entries')
104104
->visible(function () use ($form) {
105-
!$form->locked;
105+
! $form->locked;
106106
})
107107
->action(function () use ($form) {
108108
$form->update([
109109
'locked' => true,
110110
]);
111-
})
111+
}),
112112
])
113113
->actions([
114114
Tables\Actions\EditAction::make()
115115
->visible(function () use ($form) {
116-
!$form->locked;
116+
! $form->locked;
117117
}),
118118
Tables\Actions\DeleteAction::make()
119119
->visible(function () use ($form) {
120-
!$form->locked;
120+
! $form->locked;
121121
}),
122122
])
123123
->bulkActions([
124124
Tables\Actions\BulkActionGroup::make([
125125
Tables\Actions\DeleteBulkAction::make()
126126
->visible(function () use ($form) {
127-
!$form->locked;
127+
! $form->locked;
128128
}),
129129
]),
130130
]);

0 commit comments

Comments
 (0)