Skip to content
Snippets Groups Projects

In-app awareness of Registration Features - Group access by IP address

All threads resolved!
4 files
+ 8
48
Compare changes
  • Side-by-side
  • Inline
Files
4
- return unless registration_features_can_be_prompted?
- return unless registration_features_can_be_prompted?
.form-group
.form-group
%label{ for: :disabled_ip_restriction_ranges }
= f.label :disabled_ip_restriction_ranges, class: 'label-bold' do
= _('Allow access to the following IP addresses')
= _('Allow access to the following IP addresses')
= text_field_tag :disabled_ip_restriction_ranges, nil, class: 'form-control gl-form-input', disabled: true
= f.text_field :disabled_ip_restriction_ranges, value: '', class: 'form-control', disabled: true
%span.form-text.text-muted
%span.form-text.text-muted
= render 'shared/registration_features_discovery_message'
= render 'shared/registration_features_discovery_message'
Loading