components([ Section::make(__('section-templates.section_general')) ->schema([ TextInput::make('title') ->label(__('section-templates.field_title')) ->required() ->maxLength(255) ->columnSpanFull(), CodeEditor::make('html_content') ->label(__('section-templates.field_html_content')) ->required() ->lineNumbers() ->columnSpanFull() ->helperText(__('section-templates.field_html_content_help')), Toggle::make('is_active') ->label(__('section-templates.field_is_active')) ->default(true) ->inline(false), ]) ->columns(2), ]); } }