From 442b2b5a714633fff08c53182b7944e687536249 Mon Sep 17 00:00:00 2001 From: Stas Date: Tue, 5 Apr 2016 14:52:27 +0300 Subject: [PATCH] 116209751-css_modification --- app/views/registrar/domains/delete.haml | 5 +++-- .../registrar/domains/form_partials/_general.haml | 12 +++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/app/views/registrar/domains/delete.haml b/app/views/registrar/domains/delete.haml index 5216622fb..706587629 100644 --- a/app/views/registrar/domains/delete.haml +++ b/app/views/registrar/domains/delete.haml @@ -7,11 +7,12 @@ = t(:legal_document) .panel-body .form-group - .col-md-3.control-label + .col-md-4.control-label = label_tag :verified, t(:verified) - .col-md-7 + .col-md-6 = check_box_tag :verified, '1', params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);" + .form-group .col-md-4.control-label = label_tag 'domain[legal_document]', t(:legal_document), class: 'required' %p.help-block= t(:legal_document_max_size) diff --git a/app/views/registrar/domains/form_partials/_general.haml b/app/views/registrar/domains/form_partials/_general.haml index 51f855f4e..a41e6cd2b 100644 --- a/app/views/registrar/domains/form_partials/_general.haml +++ b/app/views/registrar/domains/form_partials/_general.haml @@ -23,11 +23,13 @@ = text_field_tag 'domain[registrant]', @domain_params[:registrant], class: "hidden" = text_field_tag 'domain[registrant_helper]', contacts.find_by(code: @domain_params[:registrant]).try(:search_name), class: 'form-control', data: {autocomplete: search_contacts_registrar_domains_path}, required: true - .form-group - .col-md-3.control-label - = label_tag :verified, t(:verified) - .col-md-7 - = check_box_tag :verified, '1', params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);" + + - if params[:domain_name] + .form-group + .col-md-3.control-label + = label_tag :verified, t(:verified) + .col-md-7 + = check_box_tag :verified, '1', params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);" - unless params[:domain_name] .form-group