Skip to content

Commit

Permalink
Adjusted to use same template, wait for upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
LuomaJuha committed Jan 16, 2025
1 parent c700bd4 commit 1344c5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 112 deletions.
1 change: 1 addition & 0 deletions local/config/finna/ReservationList.yaml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Institutions:
PlaceOrder:
default:
allowLocalOverride: false
formActionRoute: reservationlist-placeorder
title: ReservationList::form_title
enabled: true
onlyForLoggedUsers: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public function placeOrderAction()

$formId = ConnectionAbstractBase::FORM_ID;
$view = $this->createViewModel(compact('form', 'formId', 'user'));
$view->setTemplate('reservationlist/form');
$view->setTemplate('feedback/form');
$view->useCaptcha = false;

if (!$this->formWasSubmitted(useCaptcha: false)) {
Expand Down
111 changes: 0 additions & 111 deletions themes/finna2/templates/reservationlist/form.phtml

This file was deleted.

0 comments on commit 1344c5c

Please sign in to comment.