mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-04 15:34:35 +02:00
Allow timetraveling on data structures admin pages.
This commit is contained in:
parent
f9bb2d57e9
commit
31290c070a
15 changed files with 125 additions and 67 deletions
|
@ -250,6 +250,13 @@ class UserAdminForm extends AbstractType
|
|||
'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity),
|
||||
]);
|
||||
|
||||
$builder->add('log_comment', TextType::class, [
|
||||
'label' => 'edit.log_comment',
|
||||
'mapped' => false,
|
||||
'required' => false,
|
||||
'empty_data' => null,
|
||||
]);
|
||||
|
||||
//Buttons
|
||||
$builder->add('save', SubmitType::class, [
|
||||
'label' => $is_new ? 'user.create' : 'user.edit.save',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue