Skip to content

Commit

Permalink
Add the missing / within the form action to fix the issue. #2
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoulliard committed Sep 22, 2021
1 parent 482ec46 commit 62cae9e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/resources/templates/editOwner.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

<h2>Owner</h2>

<form class="form-horizontal" id="add-owner-form" method="post" action="{#if owner.id is null}addOwner{#else}editOwner?ownerId={owner.id}{/if}" enctype="multipart/form-data">
<form class="form-horizontal"
id="add-owner-form"
method="post"
action="{#if owner.id is null}/addOwner{#else}/editOwner?ownerId={owner.id}{/if}"
enctype="multipart/form-data">
<div class="form-group has-feedback">
<div class="form-group">
<label class="col-sm-2 control-label">First Name</label>
Expand Down

0 comments on commit 62cae9e

Please sign in to comment.