Merge pull request #1066 from consul/international-phone

Adds label and placeholder for international numbers verification
This commit is contained in:
Juanjo Bazán
2016-04-19 10:46:00 +02:00
3 changed files with 7 additions and 2 deletions

View File

@@ -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" %>