Skip to content

Commit

Permalink
Update form layout for Published field in ClassYear, Grade, School, a…
Browse files Browse the repository at this point in the history
…nd Subject entities
  • Loading branch information
dedanirungu committed Feb 28, 2024
1 parent 93e64ec commit 4e09353
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Entities/ClassYear.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function structure($structure): array
$structure['table'] = ['name', 'published'];
$structure['form'] = [
['label' => 'Name', 'class' => 'col-span-full', 'fields' => ['name']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6', 'fields' => ['published']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6 md:pr-2', 'fields' => ['published']],
['label' => 'Description', 'class' => 'col-span-full', 'fields' => ['description']],
];
$structure['filter'] = ['name', 'published'];
Expand Down
2 changes: 1 addition & 1 deletion Entities/Grade.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function structure($structure): array
$structure['table'] = ['name', 'published'];
$structure['form'] = [
['label' => 'Name', 'class' => 'col-span-full', 'fields' => ['name']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6', 'fields' => ['published']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6 md:pr-2', 'fields' => ['published']],
['label' => 'Description', 'class' => 'col-span-full', 'fields' => ['description']],
];
$structure['filter'] = ['name', 'published'];
Expand Down
2 changes: 1 addition & 1 deletion Entities/School.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function structure($structure): array
$structure['table'] = ['name', 'published'];
$structure['form'] = [
['label' => 'Name', 'class' => 'col-span-full', 'fields' => ['name']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6', 'fields' => ['published']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6 md:pr-2', 'fields' => ['published']],
['label' => 'Description', 'class' => 'col-span-full', 'fields' => ['description']],
];
$structure['filter'] = ['name', 'published'];
Expand Down
2 changes: 1 addition & 1 deletion Entities/Subject.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function structure($structure): array
$structure['table'] = ['name', 'published'];
$structure['form'] = [
['label' => 'Name', 'class' => 'col-span-full', 'fields' => ['name']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6', 'fields' => ['published']],
['label' => 'Published', 'class' => 'col-span-full md:col-span-6 md:pr-2', 'fields' => ['published']],
['label' => 'Description', 'class' => 'col-span-full', 'fields' => ['description']],
];
$structure['filter'] = ['name'];
Expand Down

0 comments on commit 4e09353

Please sign in to comment.