mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Merge pull request #134 from internetee/116209751-verified_option
116209751 verified option
This commit is contained in:
commit
1894d50dd9
6 changed files with 30 additions and 8 deletions
|
@ -6,6 +6,12 @@
|
|||
.panel-heading.clearfix
|
||||
= t(:legal_document)
|
||||
.panel-body
|
||||
.form-group
|
||||
.col-md-4.control-label
|
||||
= label_tag 'domain[verified]', t(:verified)
|
||||
.col-md-6
|
||||
= check_box_tag 'domain[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'
|
||||
|
|
|
@ -24,6 +24,13 @@
|
|||
= 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
|
||||
|
||||
- if params[:domain_name]
|
||||
.form-group
|
||||
.col-md-3.control-label
|
||||
= label_tag :verified, t(:verified)
|
||||
.col-md-7
|
||||
= check_box_tag 'domain[verified]', '1', @domain_params[:verified].eql?('1'), onclick: "return (confirm('#{t(:verified_confirm)}') ? true : false);"
|
||||
|
||||
- unless params[:domain_name]
|
||||
.form-group
|
||||
.col-md-3.control-label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue