diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-21 06:15:58 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-21 06:15:58 -0400 |
commit | 30618b271aab40d29a6d34cb4e06c8d28fa74d18 (patch) | |
tree | 975ea9f2770c20f7b8b8f5ca2fffaf9deb95b0a5 /templates/user | |
parent | e67653cf13857f671de9bf6279453f99cdd60d11 (diff) | |
download | gitea-30618b271aab40d29a6d34cb4e06c8d28fa74d18.tar.gz gitea-30618b271aab40d29a6d34cb4e06c8d28fa74d18.zip |
Add admin edit user
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/setting.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/setting.tmpl b/templates/user/setting.tmpl index c38054f39b..222ddd895b 100644 --- a/templates/user/setting.tmpl +++ b/templates/user/setting.tmpl @@ -5,8 +5,8 @@ <div id="gogs-user-setting-container" class="col-md-9"> <div id="gogs-setting-pwd"> <h4>Account Profile</h4> - <form class="form-horizontal" id="gogs-password-form" method="post" action="/user/setting">{{if .IsSuccess}} - <p class="alert alert-success">Your profile has been successfully updated.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}} + <form class="form-horizontal" id="gogs-password-form" method="post" action="/user/setting"> + {{if .IsSuccess}}<p class="alert alert-success">Your profile has been successfully updated.</p>{{else if .HasError}}<p class="alert alert-danger form-error">{{.ErrorMsg}}</p>{{end}} <p>Your Email will be public and used for Account related notifications and any web based operations made via the web.</p> <div class="form-group"> <label class="col-md-2 control-label">Email</label> @@ -29,7 +29,7 @@ </div> </div> - <div class="form-group"> + <div class="form-group {{if .Err_Avatar}}has-error has-feedback{{end}}"> <label class="col-md-2 control-label">Gravatar Email<strong class="text-danger">*</strong></label> <div class="col-md-8"> <input type="text" name="avatar" class="form-control" placeholder="Type your Gravatar e-mail address" required="required" value="{{.Owner.AvatarEmail}}"> |