Fix Group#edit form

Don't show LDAP sync tab als active on groups#edit page
Don't show old LDAP settings
parent 469bc368
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
= link_to projects_group_path(@group) do = link_to projects_group_path(@group) do
%i.icon-folder-close %i.icon-folder-close
Projects Projects
= nav_link(controller: [:groups, :ldap_group_links]) do = nav_link(controller: :ldap_group_links) do
= link_to group_ldap_group_links_path(@group) do = link_to group_ldap_group_links_path(@group) do
%i.icon-exchange %i.icon-exchange
LDAP Sync LDAP Sync
......
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
.form-actions .form-actions
= f.submit 'Save group', class: "btn btn-save" = f.submit 'Save group', class: "btn btn-save"
= render 'ldap_group_links/form', group: @group
.panel.panel-danger .panel.panel-danger
.panel-heading Remove group .panel-heading Remove group
.panel-body .panel-body
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment