Add placeholders for phone numbers

This commit is contained in:
Erik Michaels-Ober 2012-01-02 02:11:15 -08:00
parent 234c4a9092
commit 627162bfef
2 changed files with 4 additions and 4 deletions

View File

@ -22,12 +22,12 @@
= t("labels.voice_number")
%small
= image_tag "lock.png", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
= f.text_field "voice_number"
= f.text_field "voice_number", :placeholder => "617-555-5555"
%label{:for => "user_sms_number", :id => "user_sms_number_label"}
= t("labels.sms_number")
%small
= image_tag "lock.png", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
= f.text_field "sms_number"
= f.text_field "sms_number", :placeholder => "857-555-5555"
%label{:for => "user_password_confirmation", :id => "user_password_confirmation_label"}
= t("labels.password_choose")
%small

View File

@ -19,12 +19,12 @@
= t("labels.voice_number")
%small
= image_tag "lock.png", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
= f.text_field "voice_number"
= f.text_field "voice_number", :placeholder => "617-555-5555"
%label{:for => "user_sms_number", :id => "user_sms_number_label"}
= t("labels.sms_number")
%small
= image_tag "lock.png", :class => "lock", :alt => t("captions.private"), :title => t("captions.private")
= f.text_field "sms_number"
= f.text_field "sms_number", :placeholder => "857-555-5555"
%label{:for => "user_password", :id => "user_password_label"}
= t("labels.password_new")
%small