From cd8c913eec15f41af683d53882cc82a7ec50cc27 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 4 Apr 2018 13:33:33 +0300 Subject: Remove unused form for admin application settings Signed-off-by: Dmitriy Zaporozhets --- app/views/admin/application_settings/_form.html.haml | 5 ----- app/views/admin/application_settings/show.html.haml | 3 --- 2 files changed, 8 deletions(-) delete mode 100644 app/views/admin/application_settings/_form.html.haml diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml deleted file mode 100644 index 7f58cf96caf..00000000000 --- a/app/views/admin/application_settings/_form.html.haml +++ /dev/null @@ -1,5 +0,0 @@ -= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f| - = form_errors(@application_setting) - - .form-actions - = f.submit 'Save', class: 'btn btn-save' diff --git a/app/views/admin/application_settings/show.html.haml b/app/views/admin/application_settings/show.html.haml index 075d92b078b..9e605054523 100644 --- a/app/views/admin/application_settings/show.html.haml +++ b/app/views/admin/application_settings/show.html.haml @@ -302,6 +302,3 @@ = _('Allow requests to the local network from hooks and services.') .settings-content = render 'outbound' - -.prepend-top-20 - = render 'form' -- cgit v1.2.1