diff options
author | kolaente <k@knt.li> | 2020-05-15 21:02:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 22:02:46 +0300 |
commit | c72a471215a77b1bd6d117f4df5bbdcc858d25a3 (patch) | |
tree | c0dcdf859a4d91b82ddc5d84a40af5a32bed4b77 /templates | |
parent | 57217cabe34e2a01fbb3cb93bd93fbefa38fee91 (diff) | |
download | gitea-c72a471215a77b1bd6d117f4df5bbdcc858d25a3.tar.gz gitea-c72a471215a77b1bd6d117f4df5bbdcc858d25a3.zip |
Fix webhook template when validation errors occur (#11421)
Signed-off-by: kolaente <k@knt.li>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/settings/webhook/matrix.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/webhook/matrix.tmpl b/templates/repo/settings/webhook/matrix.tmpl index 032537dffc..229559a1f6 100644 --- a/templates/repo/settings/webhook/matrix.tmpl +++ b/templates/repo/settings/webhook/matrix.tmpl @@ -4,7 +4,7 @@ {{.CsrfTokenHtml}} <div class="required field {{if .Err_HomeserverURL}}error{{end}}"> <label for="homeserver_url">{{.i18n.Tr "repo.settings.matrix.homeserver_url"}}</label> - <input id="homeserver_url" name="homeserver_url" type="text" value="{{.MatrixHook.HomeserverURL}}" autofocus required> + <input id="homeserver_url" name="homeserver_url" type="url" value="{{.MatrixHook.HomeserverURL}}" autofocus required> </div> <div class="required field {{if .Err_Room}}error{{end}}"> <label for="room_id">{{.i18n.Tr "repo.settings.matrix.room_id"}}</label> |