Skip to content

Commit

Permalink
Fixed form action.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfernandez committed Mar 17, 2013
1 parent 7352663 commit 899576d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ <h2>
Pet
</h2>

<form th:object="${pet}" action="../owners/ownerDetails.html" th:method="${pet['new']} ? 'post' : 'put'"
class="form-horizontal">
<form th:object="${pet}" th:action="'#'" action="../owners/ownerDetails.html"
th:method="${pet['new']} ? 'post' : 'put'" class="form-horizontal">
<div class="control-group" id="owner">
<label class="control-label">Owner </label>

Expand Down

0 comments on commit 899576d

Please sign in to comment.