Merge pull request #1066 from consul/international-phone
Adds label and placeholder for international numbers verification
This commit is contained in:
@@ -28,9 +28,10 @@
|
||||
<%= render "shared/errors", resource: @sms %>
|
||||
|
||||
<div class="small-12 medium-6">
|
||||
<%= f.label t("verification.sms.new.phone") %>
|
||||
<%= f.label :phone, t("verification.sms.new.phone"), class: "inline-block" %>
|
||||
<span class="inline-block"><%= t("verification.sms.new.phone_format_html") %></span>
|
||||
<p class="note"><%= t("verification.sms.new.phone_note") %></p>
|
||||
<%= f.text_field :phone, label: false %>
|
||||
<%= f.text_field :phone, label: false, placeholder: t("verification.sms.new.phone_placeholder") %>
|
||||
</div>
|
||||
|
||||
<%= f.submit t("verification.sms.new.submit_button"), class: "button success" %>
|
||||
|
||||
@@ -83,7 +83,9 @@ en:
|
||||
title: Security code confirmation
|
||||
new:
|
||||
phone: Enter your mobile phone number to receive the code
|
||||
phone_format_html: "<strong><em>(Example: 612345678 or +34612345678)</em></strong>"
|
||||
phone_note: We only user your phone for send to you a code, we never contact to you.
|
||||
phone_placeholder: "Example: 612345678 or +34612345678"
|
||||
submit_button: Send
|
||||
title: Send confirmation code
|
||||
update:
|
||||
|
||||
@@ -83,7 +83,9 @@ es:
|
||||
title: SMS de confirmación
|
||||
new:
|
||||
phone: Introduce tu teléfono móvil para recibir el código
|
||||
phone_format_html: "<strong><em>(Ejemplo: 612345678 ó +34612345678)</em></strong>"
|
||||
phone_note: Sólo usaremos tu teléfono para enviarte un código, nunca te contactaremos.
|
||||
phone_placeholder: "Ejemplo: 612345678 ó +34612345678"
|
||||
submit_button: Enviar
|
||||
title: SMS de confirmación
|
||||
update:
|
||||
|
||||
Reference in New Issue
Block a user