Commit 07749ddd authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch 'eread/fix-button-label' into 'master'

Stop namespace rendering on button

See merge request gitlab-org/gitlab!79924
parents 230d0e3e e7960a3c
......@@ -30,7 +30,7 @@
= render 'shared/choose_avatar_button', f: f
- if @group.avatar?
%hr
= link_to _('Groups|Remove avatar'), group_avatar_path(@group.to_param), data: { confirm: s_('Groups|Avatar will be removed. Are you sure?')}, method: :delete, class: 'gl-button btn btn-danger-secondary'
= link_to s_('Groups|Remove avatar'), group_avatar_path(@group.to_param), data: { confirm: s_('Groups|Avatar will be removed. Are you sure?')}, method: :delete, class: 'gl-button btn btn-danger-secondary'
= render 'shared/visibility_level', f: f, visibility_level: @group.visibility_level, can_change_visibility_level: can_change_group_visibility_level?(@group), form_model: @group
= f.submit s_('Groups|Save changes'), class: 'btn gl-button btn-confirm mt-4 js-dirty-submit', data: { qa_selector: 'save_name_visibility_settings_button' }
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