Fix form action of the account register form.

This commit is contained in:
takezoe
2013-07-04 22:43:16 +09:00
parent 99e562e9e6
commit 398c77e277

View File

@@ -7,7 +7,7 @@
} else {
<h3>Create your account</h3>
}
<form action="@if(account.isDefined){@url(account.get.userName)/_edit}else{/register}" method="POST" validate="true">
<form action="@if(account.isDefined){@url(account.get.userName)/_edit}else{@path/register}" method="POST" validate="true">
@if(account.isEmpty){
<fieldset>
<label for="userName"><strong>User name</strong></label>