aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/hooks_add.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-05 21:36:08 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-05 21:36:08 -0400
commit94bccbb148a4ed897eb8332fc746aa75486c5c4d (patch)
treed731481cd20e375bb62c420abdadf788db02feda /templates/repo/hooks_add.tmpl
parent24f614f6db13e5c6720efa518641ffcdcb0d8947 (diff)
downloadgitea-94bccbb148a4ed897eb8332fc746aa75486c5c4d.tar.gz
gitea-94bccbb148a4ed897eb8332fc746aa75486c5c4d.zip
Finish edit and remove web hook
Diffstat (limited to 'templates/repo/hooks_add.tmpl')
-rw-r--r--templates/repo/hooks_add.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/repo/hooks_add.tmpl b/templates/repo/hooks_add.tmpl
index cd4e6e7a9e..df3ff3bdf4 100644
--- a/templates/repo/hooks_add.tmpl
+++ b/templates/repo/hooks_add.tmpl
@@ -21,12 +21,14 @@
<label for="payload-url">Payload URL</label>
<input id="payload-url" name="url" class="form-control" type="url" required="required"/>
</div>
+
<div class="form-group">
<label for="content-type">Content type</label>
<select id="content-type" name="content_type" class="form-control">
- <option value="json">application/json</option>
+ <option value="1">application/json</option>
</select>
</div>
+
<div class="form-group">
<label for="payload-secret">Secret</label>
<input id="payload-secret" name="secret" class="form-control" type="text"/>
@@ -43,8 +45,7 @@
<hr/>
<div class="form-group">
<label>
- <input type="checkbox" name="active" checked/>&nbsp;&nbsp;
- Active
+ <input type="checkbox" name="active" checked/>&nbsp;&nbsp;Active
</label>
<p class="help-block">We will deliver event details when this hook is triggered.</p>
</div>