Skip to content

Commit

Permalink
Hide "ID:" label on entity add (CFM-202) (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen authored Aug 30, 2022
1 parent b439757 commit b736533
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/templates/Standard/add-edit-view.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@
}
}

print '<li id="cm-entity-id">' . __d('information', 'entity.id', $vv_obj->id) . '</li>';
if($vv_action != 'add') {
print '<li id="cm-entity-id">' . __d('information', 'entity.id', $vv_obj->id) . '</li>';
}

if($vv_action == 'add' || $vv_action == 'edit') {
// We don't want/need to output these for view actions
Expand Down

0 comments on commit b736533

Please sign in to comment.