Skip to content

Commit

Permalink
fix input/textarea weird middle line.
Browse files Browse the repository at this point in the history
  • Loading branch information
Willa committed Nov 15, 2012
1 parent 44d6855 commit 58afb34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/public/javascript/ask_new.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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>")
2 changes: 1 addition & 1 deletion lib/views/campaign_new_double_opt_in.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down
2 changes: 1 addition & 1 deletion lib/views/campaign_new_sms_back.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down

0 comments on commit 58afb34

Please sign in to comment.