=allowed_email_domain_form.text_field:domain,value: group.root_ancestor_allowed_email_domain&.domain,class: 'form-control',disabled: true,placeholder: _('No value set by top-level parent group.')
.form-text.text-muted
=_('Email domain is not editable in subgroups. Value inherited from top-level parent group.')
=_('Only users with an email address in this domain can be added to the group.<br>Example: <code>gitlab.com</code>. Some common domains are not allowed. %{read_more_link}.').html_safe%{read_more_link: read_more_link}
=_('Only users with an email address in this domain can be added to the group.<br>Example: <code>gitlab.com</code>. Some common domains are not allowed. %{read_more_link}.').html_safe%{read_more_link: read_more_link}
=f.text_field:ip_restriction_ranges,class: 'form-control',data: {qa_selector: 'ip_restriction_field'},placeholder: _('Enter IP address range')
=f.text_field:ip_restriction_ranges,value: group.root_ancestor&.ip_restriction_ranges,class: 'form-control',disabled: true,placeholder: _('No value set by top-level parent group.')
.form-text.text-muted
=_('IP address restriction is not editable in subgroups. Value inherited from top-level parent group.')
-else
=f.text_field:ip_restriction_ranges,class: 'form-control',data: {qa_selector: 'ip_restriction_field'},placeholder: _('Enter IP address range')
=_('This group, including all subgroups, projects and git repositories, will only be reachable from the specified IP address range. Multiple addresses are supported with comma delimiters.<br>Example: <code>192.168.0.0/24,192.168.1.0/24</code>. %{read_more_link}.').html_safe%{read_more_link: read_more_link}
=_('This group, including all subgroups, projects and git repositories, will only be reachable from the specified IP address range. Multiple addresses are supported with comma delimiters.<br>Example: <code>192.168.0.0/24,192.168.1.0/24</code>. %{read_more_link}.').html_safe%{read_more_link: read_more_link}