Skip to content

Commit

Permalink
Sync bs5 template
Browse files Browse the repository at this point in the history
  • Loading branch information
LuomaJuha committed Jan 16, 2025
1 parent 98f6c55 commit b56e93a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions themes/bootstrap5/templates/feedback/form.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
$form->prepare();

$title = $form->getTitle();
$title = !empty($title)
? $this->translate($title) : null;
$title = !empty($title) ? $this->translate($title) : null;

$formUrl = $this->url('feedback-form', ['id' => $this->formId]);
$formUrl = $this->url($this->formActionUrl ?? 'feedback-form', ['id' => $this->formId]);
$form->setAttribute('action', $formUrl);
$form->setAttribute('class', 'dynamic-form');
$form->setAttribute('method', 'post');
Expand Down

0 comments on commit b56e93a

Please sign in to comment.