Skip to content

Commit

Permalink
fix layout on create database
Browse files Browse the repository at this point in the history
  • Loading branch information
notAreYouScared committed Dec 8, 2024
1 parent 6e0be3d commit 0fd58e5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,16 @@ protected function getHeaderActions(): array
->createAnother(false)
->form([
Grid::make()
->columns(3)
->columns(2)
->schema([
Select::make('database_host_id')
->label('Database Host')
->columnSpan(2)
->required()
->placeholder('Select Database Host')
->options(fn () => $server->node->databaseHosts->mapWithKeys(fn (DatabaseHost $databaseHost) => [$databaseHost->id => $databaseHost->name])),
TextInput::make('database')
->columnSpan(2)
->columnSpan(1)
->label('Database Name')
->prefix('s'. $server->id . '_')
->hintIcon('tabler-question-mark')
Expand Down

0 comments on commit 0fd58e5

Please sign in to comment.