mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-20 19:05:14 +02:00
Added option to "save and clone" a part, which is especially useful, when creatiing multiple similar parts.
This should (partly) fix issue 45.
This commit is contained in:
parent
d4818d2fa1
commit
6602015a5a
4 changed files with 26 additions and 2 deletions
|
@ -296,6 +296,9 @@ class PartBaseType extends AbstractType
|
|||
$builder
|
||||
//Buttons
|
||||
->add('save', SubmitType::class, ['label' => 'part.edit.save'])
|
||||
->add('save_and_clone', SubmitType::class, [
|
||||
'label' => 'part.edit.save_and_clone'
|
||||
])
|
||||
->add('reset', ResetType::class, ['label' => 'part.edit.reset']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue