diff --git a/app/views/twilio_messages/sendmessages.html.erb b/app/views/twilio_messages/sendmessages.html.erb index 6f2ccb226..4cbc66e44 100644 --- a/app/views/twilio_messages/sendmessages.html.erb +++ b/app/views/twilio_messages/sendmessages.html.erb @@ -7,7 +7,13 @@ <%= text_area_tag :message2, '', class: "input-xlarge", placeholder: "Enter a 2nd message to send. (Optional)" %>
Twilio-Wufoo Connection? <%= select_tag :twiliowufoo_campaign, options_for_select([[nil, nil]] + TwilioWufoo.all.order(:name).collect{|twiliowufoo| [twiliowufoo.name, twiliowufoo.id]}, selected: params[:twiliowufoo_campaign]), - :class => "input" %>
+ :class => "input" %> +

If you are using a Wufoo form, please make sure it is set up correctly:

+ +
Upload a comma seperated csv. The phone numbers must be in a field called 'phone_number': <%= file_field_tag "file", accept: 'text/csv' %>
<%= submit_tag "Upload Numbers", id: "submitData" , class: "btn btn-primary", data: { confirm: 'These messages will be added to the queue and sent as soon as possible. Are you sure you want to send these?' } %> diff --git a/app/views/twilio_wufoos/_form.html.erb b/app/views/twilio_wufoos/_form.html.erb index dadf68c2a..cba0a0b57 100644 --- a/app/views/twilio_wufoos/_form.html.erb +++ b/app/views/twilio_wufoos/_form.html.erb @@ -1,3 +1,8 @@ +

If you are using a Wufoo form, please make sure it is set up correctly:

+ <%= form_for(@twilio_wufoo) do |f| %> <% if @twilio_wufoo.errors.any? %>