diff options
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/auth/activate.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/forgot_passwd.tmpl | 2 | ||||
-rw-r--r-- | templates/user/auth/reset_passwd.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/applications.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/delete.tmpl | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/user/auth/activate.tmpl b/templates/user/auth/activate.tmpl index 9805067ae1..92b85a1373 100644 --- a/templates/user/auth/activate.tmpl +++ b/templates/user/auth/activate.tmpl @@ -2,7 +2,7 @@ <div class="user activate"> <div class="ui middle very relaxed page grid"> <div class="column"> - <form class="ui form" action="{{AppSubUrl}}/user/activate" method="post"> + <form class="ui form ignore-dirty" action="{{AppSubUrl}}/user/activate" method="post"> {{.CsrfTokenHtml}} <h2 class="ui top attached header"> {{.i18n.Tr "auth.active_your_account"}} diff --git a/templates/user/auth/forgot_passwd.tmpl b/templates/user/auth/forgot_passwd.tmpl index 2aeee300f0..1e061763a5 100644 --- a/templates/user/auth/forgot_passwd.tmpl +++ b/templates/user/auth/forgot_passwd.tmpl @@ -2,7 +2,7 @@ <div class="user forgot password"> <div class="ui middle very relaxed page grid"> <div class="column"> - <form class="ui form" action="{{.Link}}" method="post"> + <form class="ui form ignore-dirty" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <h2 class="ui top attached header"> {{.i18n.Tr "auth.forgot_password_title"}} diff --git a/templates/user/auth/reset_passwd.tmpl b/templates/user/auth/reset_passwd.tmpl index 2408d39a7c..19a7c8eea8 100644 --- a/templates/user/auth/reset_passwd.tmpl +++ b/templates/user/auth/reset_passwd.tmpl @@ -2,7 +2,7 @@ <div class="user reset password"> <div class="ui middle very relaxed page grid"> <div class="column"> - <form class="ui form" action="{{.Link}}" method="post"> + <form class="ui form ignore-dirty" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <input name="code" type="hidden" value="{{.Code}}"> <h2 class="ui top attached header"> diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 93b2f992df..66a011ac9a 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -38,7 +38,7 @@ {{.i18n.Tr "settings.generate_new_token"}} </h4> <div class="ui attached segment"> - <form class="ui form" action="{{.Link}}" method="post"> + <form class="ui form ignore-dirty" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <p>{{.i18n.Tr "settings.new_token_desc"}}</p> <div class="field {{if .Err_Name}}error{{end}}"> diff --git a/templates/user/settings/delete.tmpl b/templates/user/settings/delete.tmpl index 77ddda837b..76ac7233bd 100644 --- a/templates/user/settings/delete.tmpl +++ b/templates/user/settings/delete.tmpl @@ -10,7 +10,7 @@ <div class="ui red message"> <p class="text left"><i class="octicon octicon-alert"></i> {{.i18n.Tr "settings.delete_prompt" | Str2html}}</p> </div> - <form class="ui form" id="delete-form" action="{{.Link}}" method="post"> + <form class="ui form ignore-dirty" id="delete-form" action="{{.Link}}" method="post"> {{.CsrfTokenHtml}} <input class="fake" type="password"> <div class="required field {{if .Err_Password}}error{{end}}"> |