Fix text on profile edit page
Cette révision appartient à :
Parent
18b8082adf
révision
eddeed572f
2 fichiers modifiés avec 1 ajouts et 2 suppressions
|
@ -169,7 +169,6 @@ func UserProfileFormHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
// Post Registration controller, we do some check on the form here, the rest on user service
|
// Post Registration controller, we do some check on the form here, the rest on user service
|
||||||
func UserRegisterPostHandler(w http.ResponseWriter, r *http.Request) {
|
func UserRegisterPostHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
// Check same Password
|
|
||||||
b := form.RegistrationForm{}
|
b := form.RegistrationForm{}
|
||||||
err := form.NewErrors()
|
err := form.NewErrors()
|
||||||
if !captcha.Authenticate(captcha.Extract(r)) {
|
if !captcha.Authenticate(captcha.Extract(r)) {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<form class="form-horizontal" role="form" method="POST">
|
<form class="form-horizontal" role="form" method="POST">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-lg-3 control-label">{{ T "email" }}:</label>
|
<label class="col-lg-3 control-label">{{ T "email_address" }}:</label>
|
||||||
<div class="col-lg-8">
|
<div class="col-lg-8">
|
||||||
<input class="form-control" type="text" name="email" id="email" value="{{.Email}}">
|
<input class="form-control" type="text" name="email" id="email" value="{{.Email}}">
|
||||||
{{ range (index $.FormErrors "email")}}
|
{{ range (index $.FormErrors "email")}}
|
||||||
|
|
Référencer dans un nouveau ticket