Permalink
Browse files

fix input/textarea weird middle line.

  • Loading branch information...
1 parent 44d6855 commit 58afb342b094b03113426b6e2b7c5de7313f73af Willa committed Nov 15, 2012
@@ -3,5 +3,5 @@ $ ->
type = $(this).val()
if type == 'voicemail_ask'
$('#selected-ask-type').append("<div><h3>What should the ringer hear when they call?</h3>
- <input class='msg-text-area' type='textarea' name='prompt'
+ <textarea class='msg-text-area' name='prompt'
placeholder='Please leave a message of peace after the beep.'/></div>")
@@ -14,7 +14,7 @@
%input{type: 'hidden', name: 'campaign[voice_numbers][][phone_number]', value: entry[:number]}
%input.title-input{type: 'text', name: 'campaign[voice_numbers][][description]', placeholder: 'Use this space to describe where the number will be promoted, etc.'}
%h3 Add a response sms for callers of this number
- %input.msg-text-area{type: 'text', name: 'sms_responses[]', placeholder: "Thank you for calling to support us. Call us at #{pretty_phone_number(entry[:number])} to subscribe."}
+ %textarea.msg-text-area{name: 'sms_responses[]', placeholder: "Thank you for calling to support us. Call us at #{pretty_phone_number(entry[:number])} to subscribe."}
%hr
%input{type: 'hidden', name: 'campaign[sms_number]', value: @sms_number}
%button{type: 'submit'}
@@ -14,7 +14,7 @@
%input{type: 'hidden', name: 'campaign[voice_numbers][][phone_number]', value: entry[:number]}
%input.title-input{type: 'text', name: 'campaign[voice_numbers][][description]', placeholder: 'Use this space to describe where the number will be promoted, etc.'}
%h3 Add a response sms for callers of this number
- %input.msg-text-area{type: 'text', name: 'sms_responses[]', placeholder: 'Thank you for calling to support us'}
+ %textarea.msg-text-area{name: 'sms_responses[]', placeholder: 'Thank you for calling to support us'}
%hr
%input{type: 'hidden', name: 'campaign[sms_number]', value: @sms_number}
%button{type: 'submit'}

0 comments on commit 58afb34

Please sign in to comment.