rdv: add entity to serialize (WIP)

This commit is contained in:
nobohan
2021-07-19 11:07:29 +02:00
parent 516c286519
commit 206347de91
3 changed files with 14 additions and 12 deletions

View File

@@ -25,6 +25,7 @@
chill.displayAlertWhenLeavingUnsubmittedForm('form[name="{{ form.vars.form.vars.name }}"]',
'{{ "You are going to leave a page with unsubmitted data. Are you sure you want to leave ?"|trans }}');
});
window.entity = {{ entity_json|json_encode|raw }};
</script>
{{ encore_entry_script_tags('vue_calendar') }}
{% endblock %}