mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 11:54:32 +02:00
Added possibility to save parts and create an empty one
This commit is contained in:
parent
13de2afc28
commit
c088742dda
6 changed files with 1142 additions and 1120 deletions
|
@ -268,6 +268,12 @@ class PartBaseType extends AbstractType
|
|||
'value' => 'save-and-clone'
|
||||
]
|
||||
])
|
||||
->add('save_and_new', SubmitType::class, [
|
||||
'label' => 'part.edit.save_and_new',
|
||||
'attr' => [
|
||||
'value' => 'save-and-new'
|
||||
]
|
||||
])
|
||||
->add('reset', ResetType::class, ['label' => 'part.edit.reset']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue