diff options
Diffstat (limited to 'templates/repo/settings/webhook/telegram.tmpl')
-rw-r--r-- | templates/repo/settings/webhook/telegram.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/settings/webhook/telegram.tmpl b/templates/repo/settings/webhook/telegram.tmpl index 598ac44822..d062e7aac4 100644 --- a/templates/repo/settings/webhook/telegram.tmpl +++ b/templates/repo/settings/webhook/telegram.tmpl @@ -6,10 +6,10 @@ <label for="bot_token">{{.i18n.Tr "repo.settings.bot_token"}}</label> <input id="bot_token" name="bot_token" type="text" value="{{.TelegramHook.BotToken}}" autofocus required> </div> - <div class="required field {{if .Err_ChatID}}error{{end}}"> - <label for="chat_id">{{.i18n.Tr "repo.settings.chat_id"}}</label> - <input id="chat_id" name="chat_id" type="text" value="{{.TelegramHook.ChatID}}" required> - </div> + <div class="required field {{if .Err_ChatID}}error{{end}}"> + <label for="chat_id">{{.i18n.Tr "repo.settings.chat_id"}}</label> + <input id="chat_id" name="chat_id" type="text" value="{{.TelegramHook.ChatID}}" required> + </div> {{template "repo/settings/webhook/settings" .}} </form> {{end}} |