Skip to content

Commit

Permalink
Fixed an issue with ajaxform not working
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Dec 6, 2023
1 parent 7718e3d commit 64dee01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contao/templates/forms/form_wrapper.html5
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<?php endif; ?>

<?php if (!$this->message): ?>
<form<?php if ($this->action): ?> action="<?= $this->action ?>"<?php endif; ?> method="<?= $this->method ?>" enctype="<?= $this->enctype ?>"<?= $this->attributes ?><?= $this->novalidate ?><?php if ($this->ajax): ?> data-ajax-form<?php endif; ?>>
<form<?php if ($this->action): ?> action="<?= $this->action ?>"<?php endif; ?> method="<?= $this->method ?>" enctype="<?= $this->enctype ?>"<?= $this->attributes ?><?= $this->novalidate ?><?php if ($this->ajax): ?> data-ajax-form="<?= $this->id ?>"<?php endif; ?>>
<div class="formbody inside">
<?php if ($this->errors): ?>
<?php foreach ($this->errors as $error): ?>
Expand Down

0 comments on commit 64dee01

Please sign in to comment.