macros.njk: remove debug default prefix
This commit is contained in:
parent
d96de4874a
commit
0f08b91370
@ -37,7 +37,7 @@
|
|||||||
{% set validation = validation[name] if validation[name] or null %}
|
{% set validation = validation[name] if validation[name] or null %}
|
||||||
{% set previousFormData = _locals.previousFormData() %}
|
{% set previousFormData = _locals.previousFormData() %}
|
||||||
{% set value = previousFormData[name] or value or validation.value or '' %}
|
{% 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 type == 'hidden' %}
|
||||||
{% if validation %}
|
{% if validation %}
|
||||||
|
Loading…
Reference in New Issue
Block a user