Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions app/views/idv/doc_auth/back_image.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,10 @@
html: { autocomplete: 'off', role: 'form', class: 'mt2' }) do |f| %>
<%= f.input :image_data_url, as: :hidden %>
<%= render 'idv/doc_auth/notices', flow_session: flow_session %>
<div id='acuant-fallback-image-form'>
<%= f.input :image, label: false, as: :file, required: true, wrapper_class: 'mt3 sm-col-8' %>
<div class='my2' id='target'></div>
<div class='mt3'>
<%= render 'idv/doc_auth/submit_with_spinner' %>
</div>
</div>
<div class='my3'>
<%= render(
'idv/acuant_sdk_document_capture_form',
capture_button_label: t('doc_auth.buttons.upload_picture'),
retry_capture_button_label: t('doc_auth.buttons.upload_picture_retry'),
) %>
<%= f.input :image, label: false, as: :file, required: true, wrapper_class: 'mt3 sm-col-8' %>
<div class='my2' id='target'></div>
<div class='mt3'>
<%= render 'idv/doc_auth/submit_with_spinner' %>
</div>
<% end %>

Expand Down
17 changes: 4 additions & 13 deletions app/views/idv/doc_auth/front_image.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,10 @@
) do |f| %>
<%= f.input :image_data_url, as: :hidden %>
<%= render 'idv/doc_auth/notices', flow_session: flow_session %>
<div id='acuant-fallback-image-form'>
<%= f.input :image, label: false, as: :file, required: true, wrapper_class: 'mt3 sm-col-8' %>
<div class='my2' id='target'></div>
<div class='mt3'>
<%= render 'idv/doc_auth/submit_with_spinner' %>
</div>
</div>
<div class='my3'>
<%= render(
'idv/acuant_sdk_document_capture_form',
capture_button_label: t('doc_auth.buttons.upload_picture'),
retry_capture_button_label: t('doc_auth.buttons.upload_picture_retry'),
) %>
<%= f.input :image, label: false, as: :file, required: true, wrapper_class: 'mt3 sm-col-8' %>
<div class='my2' id='target'></div>
<div class='mt3'>
<%= render 'idv/doc_auth/submit_with_spinner' %>
</div>
<% end %>

Expand Down
2 changes: 0 additions & 2 deletions config/locales/doc_auth/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ en:
start_over: Start over
take_picture: Take photo
take_picture_retry: Retake photo
upload_picture: Upload photo
upload_picture_retry: Re-upload photo
use_phone: Use your phone
forms:
address1: Address
Expand Down
2 changes: 0 additions & 2 deletions config/locales/doc_auth/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ es:
start_over: Comenzar de nuevo
take_picture: Tomar la foto
take_picture_retry: Retomar foto
upload_picture: Subir foto
upload_picture_retry: Volver a subir la foto
use_phone: Usa tu telefono
forms:
address1: Dirección
Expand Down
2 changes: 0 additions & 2 deletions config/locales/doc_auth/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ fr:
start_over: Recommencer
take_picture: Prendre une photo
take_picture_retry: Reprendre la photo
upload_picture: Envoyer la photo
upload_picture_retry: Re-télécharger la photo
use_phone: Utilisez votre téléphone
forms:
address1: Adresse
Expand Down