diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-04-30 11:34:31 +0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-05-02 16:32:01 +0300 |
commit | 00ced598ea65f1b957c43576bc1564ed3f67d749 (patch) | |
tree | 99b2dfc8972df739730da450849264e43f51d322 /app/views/admin | |
parent | 0cd5edf35cfaca74344dd389aadd65f0f179d395 (diff) |
Added UI to define secret_token for webhook and systemhook
Codestyle changes to easy EE merge
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/hooks/index.html.haml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/admin/hooks/index.html.haml b/app/views/admin/hooks/index.html.haml index 67d23c80233..7b388cf7862 100644 --- a/app/views/admin/hooks/index.html.haml +++ b/app/views/admin/hooks/index.html.haml @@ -13,9 +13,15 @@ = form_errors(@hook) .form-group - = f.label :url, "URL:", class: 'control-label' + = f.label :url, 'URL', class: 'control-label' .col-sm-10 - = f.text_field :url, class: "form-control" + = f.text_field :url, class: 'form-control' + .form-group + = f.label :token, 'Secret Token', class: 'control-label' + .col-sm-10 + = f.text_field :token, class: 'form-control' + %p.help-block + Use this token to validate received payloads .form-group = f.label :url, "Trigger", class: 'control-label' .col-sm-10.prepend-top-10 |