From b736533c422490f1a8f5cf32b0aad53173c14432 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Tue, 30 Aug 2022 14:47:28 -0400 Subject: [PATCH] Hide "ID:" label on entity add (CFM-202) (#47) --- app/templates/Standard/add-edit-view.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/Standard/add-edit-view.php b/app/templates/Standard/add-edit-view.php index 4d0d43a45..d6a58418b 100644 --- a/app/templates/Standard/add-edit-view.php +++ b/app/templates/Standard/add-edit-view.php @@ -134,7 +134,9 @@ } } -print '
  • ' . __d('information', 'entity.id', $vv_obj->id) . '
  • '; +if($vv_action != 'add') { + print '
  • ' . __d('information', 'entity.id', $vv_obj->id) . '
  • '; +} if($vv_action == 'add' || $vv_action == 'edit') { // We don't want/need to output these for view actions