Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - if @status == :verified
- .form.personal_info_form
- h3.text-center.verification_status
- i.fa.fa-check-circle.icon-color
- = ' '
- | Your account verification is completed.
- - elsif @status == :review
- .form.personal_info_form
- br
- h3.text-center.verification_status
- i.fa.fa-spinner.icon-color
- = ' '
- | Your account verification is in progress.
- h5.verification_status_description
- | Your submitted the documents on #{current_user.verification_requests[0].created_at.strftime("%B %d, %Y")}.
- br
- h5.verification_status_description
- | Please wait 7-10 business days, after which you will receive a notification by e-mail.
- br
- h5.verification_status_description
- | If you did not receive the letter in that time, please contact our help center.
- - else
- .content
- = form_for @request, url: user_profile_verification_requests_path, method: :patch, validate: true, html: { multipart: true } do |f|
- .identity
- .row
- .col-md-12
- - if @current_user.personal_info.nil?
- p.verify
- | To verify your account, first fill out your personal information and go to the verification process.
- = link_to ' Personal info', user_profile_personal_info_path, class: 'links'
- hr
- p.title
- span
- | 1.
- | Proof of identity
- p.disc
- | Select type of proof of identity
- .col-md-3.col-sm-6.col-xs-6
- .passport_identity.select_passport
- = f.radio_button :proof_of_identity, 'passport', class: 'check_proof hidden form-control', disabled: disabled, data: {behavior: "clickable"}
- = f.label :proof_of_identity, 'passport', class: 'type_proof', disabled: disabled, data: {behavior: "clickable"}
- .left
- = image_tag 'type_proof_1.png'
- span
- | National passports or International passports
- .passport_identity.select_passport
- = f.radio_button :proof_of_identity, 'natinal_id', class: 'check_proof hidden form-control', disabled: disabled
- = f.label :proof_of_identity, 'natinal_id', class: 'type_proof', disabled: disabled
- .left.min_icon
- = image_tag 'type_proof_3.png'
- span
- | National ID cadrs (both sides)
- .passport_identity.select_passport
- = f.radio_button :proof_of_identity, 'military_cards', class: 'check_proof hidden form-control', disabled: disabled
- = f.label :proof_of_identity, 'military_cards', class: 'type_proof', disabled: disabled
- .left.min_icon
- = image_tag 'type_proof_5.png'
- span
- | Military cards/VIDS (both sides)
- .col-md-3.col-sm-6.col-xs-6
- .passport_identity.select_passport
- = f.radio_button :proof_of_identity, 'driving_licenses', class: 'check_proof hidden form-control', disabled: disabled
- = f.label :proof_of_identity, 'driving_licenses', class: 'type_proof', disabled: disabled
- .left.min_icon
- = image_tag 'type_proof_2.png'
- span
- | Driving licenses or international driving licenses
- .passport_identity.select_passport
- = f.radio_button :proof_of_identity, 'residence_cards', class: 'check_proof hidden form-control', disabled: disabled
- = f.label :proof_of_identity, 'residence_cards', class: 'type_proof', disabled: disabled
- .left.min_icon
- = image_tag 'type_proof_4.png'
- span
- | Residence cards or Work permits
- br
- | (with photo)
- .col-md-6.col-sm-12.col-xs-12
- p.text_info
- | Please upload an image of valid government-issued document to proof your identity. It should contain your full name, date of birth, your photo and expiration or validity date. It is better if this documentvis in English or have attached translation. We do not accept: 1. National passports/IDs without translation 2. Any documents without photo, date of birth or full name 3. Birth certificates 4. Marriage certificates 5. Work passes 6. All selfies 7. Photocopies of any documents 8. Expired and invalid documents.
- .identity
- .row
- .col-md-12
- p.disc
- | Upload Passport (double page)
- .col-md-6
- .file
- = f.file_field :passport, class: 'hidden form-control', disabled: disabled
- = f.label :passport, class: 'upload_files', disabled: disabled
- p.left
- i.fa.fa-upload[aria-hidden="true"]
- p.right
- span.file_name
- | Select file...
- br
- span.file_info
- | Accepted file formats: PDF, JPG / JPEG, PNG
- .col-md-6
- .passport_back_page_hidden
- .file.add_file
- = f.file_field :passport_back_page, class: 'hidden form-control', disabled: disabled
- .remove_hidden
- = f.label :passport_back_page, class: 'upload_files', disabled: disabled
- p.left
- i.fa.fa-upload[aria-hidden="true"]
- p.right
- span.file_name
- | Select file...
- br
- span.file_info
- | Accepted file formats: PDF, JPG / JPEG, PNG
- .identity.address
- .row
- .col-md-12
- p.title
- span
- | 2.
- | Proof of residential address
- .col-md-12
- p.text_info
- | Please upload a colour copy of the utility bills (water, electricity, Internet bills and equivalent), bank statements/notices, permanent registration/residence cards (both sides), tax returns, Lease/tenancy agreements (with highlighted address, name of the tenant, date and validity), police affidavits (selected). Make sure that your document was issued less than 3 months ago. It is better if this document is in English or have attached translation.
- .identity.upload
- .row
- .col-md-12
- p.disc
- | Upload
- .col-md-6
- .file
- = f.file_field :bill, class: 'hidden form-control', disabled: disabled
- = f.label :bill, class: 'upload_files', disabled: disabled
- p.left
- i.fa.fa-upload[aria-hidden="true"]
- p.right
- span.file_name
- | Select file...
- br
- span.file_info
- | Accepted file formats: PDF, JPG / JPEG, PNG
- .identity
- .row.btn_block
- = f.submit 'SUBMIT', class: 'btn waves-effect waves-light right', disabled: disabled
- = link_to 'Cancel', :back, class: 'btn btn-lg', disabled: disabled
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement