From 627162bfef347936b2773123cdb693a71efb46b2 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Mon, 2 Jan 2012 02:11:15 -0800 Subject: [PATCH] Add placeholders for phone numbers --- app/views/sidebar/_combo_form.html.haml | 4 ++-- app/views/sidebar/edit_profile.html.haml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/sidebar/_combo_form.html.haml b/app/views/sidebar/_combo_form.html.haml index 21194b0..8c5244d 100644 --- a/app/views/sidebar/_combo_form.html.haml +++ b/app/views/sidebar/_combo_form.html.haml @@ -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 diff --git a/app/views/sidebar/edit_profile.html.haml b/app/views/sidebar/edit_profile.html.haml index 8676204..4bf3070 100644 --- a/app/views/sidebar/edit_profile.html.haml +++ b/app/views/sidebar/edit_profile.html.haml @@ -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