Various UI improvements

This commit is contained in:
Rich Lott / Artful Robot 2025-02-28 12:37:58 +00:00
parent bcbf5de9c4
commit 8d0a9d0926
7 changed files with 253 additions and 123 deletions

View file

@ -33,6 +33,17 @@ return [
'label' => E::ts('Category name'),
],
],
'description' => [
'title' => E::ts('Description'),
'sql_type' => 'text',
'input_type' => 'TextArea',
'required' => FALSE,
'input_attrs' => [
'note_columns' => 60,
'note_rows' => 3,
'label' => E::ts('Category description'),
],
],
'search_type' => [
'title' => E::ts('Definition type'),
'sql_type' => 'varchar(12)',
@ -77,5 +88,12 @@ return [
'default' => '10',
'required' => TRUE,
],
'presentation_order' => [
'title' => E::ts('Presentation order'),
'description' => E::ts('What order should these be presented in?'),
'sql_type' => 'int(1) unsigned',
'default' => '10',
'required' => TRUE,
],
],
];