diff --git a/app/views/registrant/whois/index.haml b/app/views/registrant/whois/index.haml index 3d95af638..5b1e64efa 100644 --- a/app/views/registrant/whois/index.haml +++ b/app/views/registrant/whois/index.haml @@ -1,21 +1,17 @@ = render 'shared/title', name: t(:whois) -- if ENV['restful_whois_url'].blank? - %p - Registrant configuration issue: missing restful_whois_url -- else - .row - .col-md-12{style: 'margin-bottom: -15px;'} - = form_tag registrant_whois_path, class: 'form-horizontal', method: :get do - .col-md-11 - .form-group - = text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t(:domain_name), autocomplete: 'off', autofocus: true - .col-md-1.text-right.text-center-xs - .form-group - %button.btn.btn-default -   - %span.glyphicon.glyphicon-search -   - %hr - - if @domain - %pre= @domain.body \ No newline at end of file +.row + .col-md-12{style: 'margin-bottom: -15px;'} + = form_tag registrant_whois_path, class: 'form-horizontal', method: :get do + .col-md-11 + .form-group + = text_field_tag :domain_name, params[:domain_name], class: 'form-control', placeholder: t(:domain_name), autocomplete: 'off', autofocus: true + .col-md-1.text-right.text-center-xs + .form-group + %button.btn.btn-default +   + %span.glyphicon.glyphicon-search +   +%hr +- if @domain + %pre= @domain.body diff --git a/config/application-example.yml b/config/application-example.yml index 9d68e44e8..69ade1976 100644 --- a/config/application-example.yml +++ b/config/application-example.yml @@ -83,12 +83,6 @@ key_path: '/home/registry/registry/shared/ca/private/webclient.key.pem' epp_hostname: 'registry.gitlab.eu' repp_url: 'https://repp.gitlab.eu/repp/v1/' - -# -# REGISTRANT configuration -# -restful_whois_url: 'https://restful-whois.example.com' - # # Estonian Business Registry #