@@ -36,13 +36,44 @@ public static function form(Form $form): Form
36
36
{
37
37
return $ form
38
38
->schema ([
39
- Forms \Components \TextInput::make ('causer_type ' )->label (__ ('filament-spatie-activitylog::activity.causer_type ' )),
40
- Forms \Components \TextInput::make ('causer_id ' )->label (__ ('filament-spatie-activitylog::activity.causer_id ' )),
41
- Forms \Components \TextInput::make ('subject_type ' )->label (__ ('filament-spatie-activitylog::activity.subject_type ' )),
42
- Forms \Components \TextInput::make ('subject_id ' )->label (__ ('filament-spatie-activitylog::activity.subject_id ' )),
43
- Forms \Components \TextInput::make ('description ' )->label (__ ('filament-spatie-activitylog::activity.description ' ))->columnSpan (2 ),
44
- Forms \Components \KeyValue::make ('properties.attributes ' )->label (__ ('filament-spatie-activitylog::activity.attributes ' )),
45
- Forms \Components \KeyValue::make ('properties.old ' )->label (__ ('filament-spatie-activitylog::activity.old ' )),
39
+ Forms \Components \TextInput::make ('causer_type ' )
40
+ ->label (__ ('filament-spatie-activitylog::activity.causer_type ' ))
41
+ ->columnSpan ([
42
+ 'default ' => 2 ,
43
+ 'sm ' => 1
44
+ ]),
45
+ Forms \Components \TextInput::make ('causer_id ' )
46
+ ->label (__ ('filament-spatie-activitylog::activity.causer_id ' ))
47
+ ->columnSpan ([
48
+ 'default ' => 2 ,
49
+ 'sm ' => 1
50
+ ]),
51
+ Forms \Components \TextInput::make ('subject_type ' )
52
+ ->label (__ ('filament-spatie-activitylog::activity.subject_type ' ))
53
+ ->columnSpan ([
54
+ 'default ' => 2 ,
55
+ 'sm ' => 1
56
+ ]),
57
+ Forms \Components \TextInput::make ('subject_id ' )
58
+ ->label (__ ('filament-spatie-activitylog::activity.subject_id ' ))
59
+ ->columnSpan ([
60
+ 'default ' => 2 ,
61
+ 'sm ' => 1
62
+ ]),
63
+ Forms \Components \TextInput::make ('description ' )
64
+ ->label (__ ('filament-spatie-activitylog::activity.description ' ))->columnSpan (2 ),
65
+ Forms \Components \KeyValue::make ('properties.attributes ' )
66
+ ->label (__ ('filament-spatie-activitylog::activity.attributes ' ))
67
+ ->columnSpan ([
68
+ 'default ' => 2 ,
69
+ 'sm ' => 1
70
+ ]),
71
+ Forms \Components \KeyValue::make ('properties.old ' )
72
+ ->label (__ ('filament-spatie-activitylog::activity.old ' ))
73
+ ->columnSpan ([
74
+ 'default ' => 2 ,
75
+ 'sm ' => 1
76
+ ]),
46
77
]);
47
78
}
48
79
0 commit comments