macros.njk: remove debug default prefix

This commit is contained in:
Alice Gaudon 2021-01-25 17:53:50 +01:00
parent d96de4874a
commit 0f08b91370

View File

@ -37,7 +37,7 @@
{% set validation = validation[name] if validation[name] or null %}
{% set previousFormData = _locals.previousFormData() %}
{% set value = previousFormData[name] or value or validation.value or '' %}
{% set prefix = _locals.getFormPrefix() | default('no-') %}
{% set prefix = _locals.getFormPrefix() | default('') %}
{% if type == 'hidden' %}
{% if validation %}