<buttononclick="return safeConfirm('{{ _gettext('Are you sure you want to delete this record?') }}');"title="{{ _gettext('Delete record') }}">
<buttononclick="return faHelpers.safeConfirm('{{ _gettext('Are you sure you want to delete this record?') }}');"title="{{ _gettext('Delete record') }}">