Added Missing test
Cette révision appartient à :
Parent
d74d337c25
révision
e4d4878d64
2 fichiers modifiés avec 5 ajouts et 0 suppressions
|
@ -73,6 +73,10 @@ func walkDirTest(dir string, t *testing.T) {
|
|||
vars.Set("Languages", make(map[string]string))
|
||||
return vars
|
||||
},
|
||||
"login.jet.html": func(vars jet.VarMap) jet.VarMap {
|
||||
vars.Set("Form", &userValidator.LoginForm{})
|
||||
return vars
|
||||
},
|
||||
"register.jet.html": func(vars jet.VarMap) jet.VarMap {
|
||||
vars.Set("Form", &userValidator.RegistrationForm{})
|
||||
return vars
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<input type="text" name="username" id="username" class="form-input up-input" autofocus placeholder="{{ T("email_address_or_username")}}"><br>
|
||||
{{ yield errors(name="username")}}
|
||||
<input type="password" name="password" id="password" class="form-input up-input" placeholder="{{ T("password")}}"><br>
|
||||
<input type="hidden" name="redirectTo" value="{{ Form.RedirectTo }}">
|
||||
{{ yield errors(name="password")}}
|
||||
<!-- <span class="button-checkbox">
|
||||
<button type="button" class="btn hidden" data-color="info">{{ T("remember_me")}}</button>
|
||||
|
|
Référencer dans un nouveau ticket