diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-04-03 20:30:14 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-04-04 10:47:11 +0300 |
commit | 242345a0251082d851461f8066e3b0dce26203ac (patch) | |
tree | 6f244a4b73d79d0731d1996008f9bce27638376b /app/views/admin/application_settings/_outbound.html.haml | |
parent | b61e00eaf7a4f9316fac4c77347e7865aeffea29 (diff) | |
download | gitlab-ce-242345a0251082d851461f8066e3b0dce26203ac.tar.gz |
Move network related app settings to expandable blocks
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin/application_settings/_outbound.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_outbound.html.haml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_outbound.html.haml b/app/views/admin/application_settings/_outbound.html.haml new file mode 100644 index 00000000000..d10f609006d --- /dev/null +++ b/app/views/admin/application_settings/_outbound.html.haml @@ -0,0 +1,12 @@ += form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f| + = form_errors(@application_setting) + + %fieldset + .form-group + .col-sm-offset-2.col-sm-10 + .checkbox + = f.label :allow_local_requests_from_hooks_and_services do + = f.check_box :allow_local_requests_from_hooks_and_services + Allow requests to the local network from hooks and services + + = f.submit 'Save changes', class: "btn btn-success" |