Changed lowercase 'edit' in isGranted to uppercase 'EDIT'

Current template does not work with uppercase role naming convention (eg: ROLE_SONATA_ADMIN_ENTITY_EDIT)