fixed non-existing display pattern method in edit templates (until we
switch to Symfony Forms)