debian-mirror-gitlab/app/views/admin/hooks/index.html.haml

15 lines
474 B
Text
Raw Normal View History

2020-01-01 13:55:28 +05:30
- page_title @hook.pluralized_name
2018-03-27 19:54:05 +05:30
.row.prepend-top-default
.col-lg-4
2020-01-01 13:55:28 +05:30
= render 'shared/web_hooks/title_and_docs', hook: @hook
2014-09-02 18:07:02 +05:30
2018-03-27 19:54:05 +05:30
.col-lg-8.append-bottom-default
= form_for @hook, as: :hook, url: admin_hooks_path do |f|
= render partial: 'form', locals: { form: f, hook: @hook }
2020-01-01 13:55:28 +05:30
= f.submit _('Add system hook'), class: 'btn btn-success'
2014-09-02 18:07:02 +05:30
2020-01-01 13:55:28 +05:30
= render 'shared/web_hooks/index', hooks: @hooks, hook_class: @hook.class
2014-09-02 18:07:02 +05:30
2020-03-13 15:44:24 +05:30
= render 'shared/file_hooks/index'