diff options
Diffstat (limited to 'app/views/groups/settings/_ip_restriction_registration_features_cta.html.haml')
-rw-r--r-- | app/views/groups/settings/_ip_restriction_registration_features_cta.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/groups/settings/_ip_restriction_registration_features_cta.html.haml b/app/views/groups/settings/_ip_restriction_registration_features_cta.html.haml new file mode 100644 index 00000000000..3067220ea8f --- /dev/null +++ b/app/views/groups/settings/_ip_restriction_registration_features_cta.html.haml @@ -0,0 +1,8 @@ +- return unless registration_features_can_be_prompted? + +.form-group + = f.label :disabled_ip_restriction_ranges, class: 'label-bold' do + = _('Allow access to the following IP addresses') + = f.text_field :disabled_ip_restriction_ranges, value: '', class: 'form-control', disabled: true + %span.form-text.text-muted + = render 'shared/registration_features_discovery_message' |