@(resetForm:Form[(String, String)], mailToken: String)(implicit request: RequestHeader, lang: Lang, env: securesocial.core.RuntimeEnvironment[_])
@import helper._
@import securesocial.core.IdentityProvider
@implicitFieldConstructor = @{ FieldConstructor(com.yetu.oauth2provider.views.html.yetuAuthentication.inputFieldConstructor.f) }

@com.yetu.oauth2provider.views.html.yetuAuthentication.main( Messages("securesocial.password.title") ) {
    <div class="page-header">
        <h1 name="pwreset">@Messages("securesocial.password.title")</h1>
    </div>

    @request.flash.get("error").map { msg =>
        <div class="alert alert-error">
            @Messages(msg)
        </div>
    }

    <form action="@env.routes.handleStartResetPasswordUrl"
          class="form-horizontal"
          autocomplete="off"
          method="POST"
    >
        <fieldset>
            @helper.inputPassword(
            resetForm("password.password1"),
            '_label -> Messages("securesocial.signup.password1"),
            'class -> "input-xlarge"
            )

            @helper.inputPassword(
            resetForm("password.password2"),
            '_label -> Messages("securesocial.signup.password2"),
            '_error -> resetForm.error("password"),
            'class -> "input-xlarge"
            )

            <div class="form-actions">
                <button type="submit" class="btn btn-primary">@Messages("securesocial.password.reset")</button>
            </div>

        </fieldset>
    </form>
}



@(resetForm:Form[(String, String)], mailToken: String)(implicit request: RequestHeader, lang: Lang, env: securesocial.core.RuntimeEnvironment[_])
@import helper._
@import securesocial.core.IdentityProvider
@implicitFieldConstructor = @{ FieldConstructor(com.yetu.oauth2provider.views.html.yetuAuthentication.inputFieldConstructor.f) }

@com.yetu.oauth2provider.views.html.yetuAuthentication.main( Messages("securesocial.password.title") ) {
    <div class="page-header">
        <h1 name="pwreset">@Messages("securesocial.password.title")</h1>
    </div>

    @request.flash.get("error").map { msg =>
        <div class="alert alert-error">
            @Messages(msg)
        </div>
    }

    <form action="@env.routes.handleResetPasswordUrl(mailToken)"
          class="form-horizontal"
          autocomplete="off"
          method="POST"
    >
        <fieldset>
            @helper.inputPassword(
            resetForm("password.password1"),
            '_label -> Messages("securesocial.signup.password1"),
            'class -> "input-xlarge"
            )

            @helper.inputPassword(
            resetForm("password.password2"),
            '_label -> Messages("securesocial.signup.password2"),
            '_error -> resetForm.error("password"),
            'class -> "input-xlarge"
            )

            <div class="form-actions">
                <button type="submit" class="btn btn-primary">@Messages("securesocial.password.reset")</button>
            </div>

        </fieldset>
    </form>
}



Fix bug in view URL for password reset.
Fix bug in view URL for password reset.
