SHARE
TWEET

Untitled

a guest May 31st, 2017 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - if @status == :verified
  2.   .form.personal_info_form
  3.  
  4.     h3.text-center.verification_status
  5.       i.fa.fa-check-circle.icon-color
  6.       = ' '
  7.       | Your account verification is completed.
  8.  
  9. - elsif @status == :review
  10.   .form.personal_info_form
  11.     br
  12.     h3.text-center.verification_status
  13.       i.fa.fa-spinner.icon-color
  14.       = ' '
  15.       | Your account verification is in progress.
  16.     h5.verification_status_description
  17.       | Your submitted the documents on #{current_user.verification_requests[0].created_at.strftime("%B %d, %Y")}.
  18.       br
  19.     h5.verification_status_description
  20.       | Please wait 7-10 business days, after which you will receive a notification by e-mail.
  21.       br
  22.     h5.verification_status_description
  23.       | If you did not receive the letter in that time, please contact our help center.
  24.  
  25. - else
  26.   .content
  27.     = form_for @request, url: user_profile_verification_requests_path, method: :patch, validate: true, html: { multipart: true } do |f|
  28.       .identity
  29.         .row
  30.           .col-md-12
  31.             - if @current_user.personal_info.nil?
  32.               p.verify
  33.                 |  To verify your account, first fill out your personal information and go to the verification process.
  34.                 = link_to ' Personal info', user_profile_personal_info_path, class: 'links'
  35.               hr
  36.  
  37.             p.title
  38.               span
  39.                 | 1.
  40.               |  Proof of identity
  41.             p.disc
  42.               | Select type of proof of identity
  43.  
  44.           .col-md-3.col-sm-6.col-xs-6
  45.             .passport_identity.select_passport
  46.               = f.radio_button :proof_of_identity, 'passport', class: 'check_proof hidden form-control', disabled: disabled, data: {behavior: "clickable"}
  47.               = f.label :proof_of_identity, 'passport', class: 'type_proof', disabled: disabled, data: {behavior: "clickable"}
  48.                 .left
  49.                   = image_tag 'type_proof_1.png'
  50.                 span
  51.                   | National passports or International passports
  52.  
  53.             .passport_identity.select_passport
  54.               = f.radio_button :proof_of_identity, 'natinal_id', class: 'check_proof hidden form-control', disabled: disabled
  55.               = f.label :proof_of_identity, 'natinal_id', class: 'type_proof', disabled: disabled
  56.                 .left.min_icon
  57.                   = image_tag 'type_proof_3.png'
  58.                 span
  59.                   | National ID cadrs (both sides)
  60.  
  61.             .passport_identity.select_passport
  62.               = f.radio_button :proof_of_identity, 'military_cards', class: 'check_proof hidden form-control', disabled: disabled
  63.               = f.label :proof_of_identity, 'military_cards', class: 'type_proof', disabled: disabled
  64.                 .left.min_icon
  65.                   = image_tag 'type_proof_5.png'
  66.                 span
  67.                   | Military cards/VIDS (both sides)
  68.  
  69.           .col-md-3.col-sm-6.col-xs-6
  70.             .passport_identity.select_passport
  71.               = f.radio_button :proof_of_identity, 'driving_licenses', class: 'check_proof hidden form-control', disabled: disabled
  72.               = f.label :proof_of_identity, 'driving_licenses', class: 'type_proof', disabled: disabled
  73.                 .left.min_icon
  74.                   = image_tag 'type_proof_2.png'
  75.                 span
  76.                   | Driving licenses or international driving licenses
  77.  
  78.             .passport_identity.select_passport
  79.               = f.radio_button :proof_of_identity, 'residence_cards', class: 'check_proof hidden form-control', disabled: disabled
  80.               = f.label :proof_of_identity, 'residence_cards', class: 'type_proof', disabled: disabled
  81.                 .left.min_icon
  82.                   = image_tag 'type_proof_4.png'
  83.                 span
  84.                   | Residence cards or Work permits
  85.                   br
  86.                   |  (with photo)
  87.  
  88.           .col-md-6.col-sm-12.col-xs-12
  89.             p.text_info
  90.               |  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.
  91.       .identity
  92.         .row
  93.           .col-md-12
  94.             p.disc
  95.               |  Upload Passport (double page)
  96.           .col-md-6
  97.             .file
  98.               = f.file_field :passport, class: 'hidden form-control', disabled: disabled
  99.               = f.label :passport, class: 'upload_files', disabled: disabled
  100.                 p.left
  101.                   i.fa.fa-upload[aria-hidden="true"]
  102.                 p.right
  103.                   span.file_name
  104.                     | Select file...
  105.                   br
  106.                   span.file_info
  107.                     | Accepted file formats: PDF, JPG / JPEG, PNG
  108.  
  109.           .col-md-6
  110.             .passport_back_page_hidden
  111.               .file.add_file
  112.                 = f.file_field :passport_back_page, class: 'hidden form-control', disabled: disabled
  113.                 .remove_hidden
  114.                   = f.label :passport_back_page, class: 'upload_files', disabled: disabled
  115.                     p.left
  116.                       i.fa.fa-upload[aria-hidden="true"]
  117.                     p.right
  118.                       span.file_name
  119.                         | Select file...
  120.                       br
  121.                       span.file_info
  122.                         | Accepted file formats: PDF, JPG / JPEG, PNG
  123.       .identity.address
  124.         .row
  125.           .col-md-12
  126.             p.title
  127.               span
  128.                 | 2.
  129.               |  Proof of residential address
  130.           .col-md-12
  131.             p.text_info
  132.               | 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.
  133.       .identity.upload
  134.         .row
  135.           .col-md-12
  136.             p.disc
  137.               |  Upload
  138.           .col-md-6
  139.             .file
  140.               = f.file_field :bill, class: 'hidden form-control', disabled: disabled
  141.               = f.label :bill, class: 'upload_files', disabled: disabled
  142.                 p.left
  143.                   i.fa.fa-upload[aria-hidden="true"]
  144.                 p.right
  145.                   span.file_name
  146.                     | Select file...
  147.                   br
  148.                   span.file_info
  149.                     | Accepted file formats: PDF, JPG / JPEG, PNG
  150.       .identity
  151.         .row.btn_block
  152.           = f.submit 'SUBMIT', class: 'btn waves-effect waves-light right', disabled: disabled
  153.           = link_to 'Cancel', :back, class: 'btn btn-lg', disabled: disabled
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top