mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-20 19:05:14 +02:00
Added possibility to associate a part with a project that represents the builds of the project
This commit is contained in:
parent
adc070d10c
commit
fdcd1b9d9d
6 changed files with 106 additions and 10 deletions
|
@ -34,9 +34,9 @@ class ProjectAdminForm extends BaseEntityAdminForm
|
|||
{
|
||||
$builder->add('description', RichTextEditorType::class, [
|
||||
'required' => false,
|
||||
'empty_data' => '',
|
||||
'label' => 'part.edit.description',
|
||||
'mode' => 'markdown-single_line',
|
||||
'empty_data' => '',
|
||||
'attr' => [
|
||||
'placeholder' => 'part.edit.description.placeholder',
|
||||
'rows' => 2,
|
||||
|
@ -51,6 +51,7 @@ class ProjectAdminForm extends BaseEntityAdminForm
|
|||
],
|
||||
'label' => 'project.edit.status',
|
||||
'required' => false,
|
||||
'empty_data' => '',
|
||||
'choices' => [
|
||||
'project.status.draft' => 'draft',
|
||||
'project.status.planning' => 'planning',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue