mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
Merge branch '116209751-verified_option' into staging
This commit is contained in:
commit
6ce40e1f8b
2 changed files with 10 additions and 7 deletions
|
@ -7,11 +7,12 @@
|
||||||
= t(:legal_document)
|
= t(:legal_document)
|
||||||
.panel-body
|
.panel-body
|
||||||
.form-group
|
.form-group
|
||||||
.col-md-3.control-label
|
.col-md-4.control-label
|
||||||
= label_tag :verified, t(:verified)
|
= 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);"
|
= check_box_tag :verified, '1', params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);"
|
||||||
|
|
||||||
|
.form-group
|
||||||
.col-md-4.control-label
|
.col-md-4.control-label
|
||||||
= label_tag 'domain[legal_document]', t(:legal_document), class: 'required'
|
= label_tag 'domain[legal_document]', t(:legal_document), class: 'required'
|
||||||
%p.help-block= t(:legal_document_max_size)
|
%p.help-block= t(:legal_document_max_size)
|
||||||
|
|
|
@ -23,11 +23,13 @@
|
||||||
= text_field_tag 'domain[registrant]', @domain_params[:registrant], class: "hidden"
|
= 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),
|
= 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
|
class: 'form-control', data: {autocomplete: search_contacts_registrar_domains_path}, required: true
|
||||||
.form-group
|
|
||||||
.col-md-3.control-label
|
- if params[:domain_name]
|
||||||
= label_tag :verified, t(:verified)
|
.form-group
|
||||||
.col-md-7
|
.col-md-3.control-label
|
||||||
= check_box_tag :verified, '1', params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);"
|
= 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]
|
- unless params[:domain_name]
|
||||||
.form-group
|
.form-group
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue