This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 dorchester | |
high level road | |
074 656 1883 dovi | |
074 240 7275 daniel | |
seapoint | |
wendy 021 434 8680 | |
cell 082 765 7801 | |
beit midrash morasha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="mimi_webform_container"> | |
<div class="mimi_webform<%= @signup.logo_background_color == 'transparent' ? '' : ' with_bg' %>"> | |
<% if @signup.has_logo? %> | |
<div class="mimi_webform_header mimi_webform_logo <%= @signup.logo_ui_dark? ? 'ui_dark' : 'ui_light' %>" style='background-color:<%= @signup.logo_background_color %>; width:<%= @signup.iframe_form_width %>px;'> | |
<h1 style="color: <%= @signup.font_color %>;"><%= @signup.iframe_header %></h1> | |
</div> | |
<% end %> | |
<%= @signup.form_text(false, true) %> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array = ["a", "b"] | |
index = 0 | |
array.map do |letter| | |
next if letter == "a" | |
index += 1 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addLoadEvent(function() { | |
var dropdowns = form.getElementsByTagName("select"); | |
for(var i = 0; i < dropdowns.length; ++i) { | |
dropdowns[i].onchange = function() { | |
if(dropdowns[i].value != "") { | |
if(document.getElementsByClassName(dropdowns[i].id).length == 0) { | |
var input = document.createElement("input"); | |
input.type = "hidden"; | |
input.className = dropdowns[i].id; | |
input.name = "lists[]"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addLoadEvent(function() { | |
var dropdowns = form.getElementsByTagName("select"); | |
setInterval(function() { | |
for(var i = 0; i < dropdowns.length; ++i) { | |
if(dropdowns[i].value != "") { | |
if(document.getElementsByClassName(dropdowns[i].id).length == 0) { | |
var input = document.createElement("input"); | |
input.type = "hidden"; | |
input.className = dropdowns[i].id; | |
input.name = "lists[]"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="http://localhost:3000/signups/subscribe/9" method="post" id="mad_mimi_signup_form" target="_blank"> | |
<fieldset> | |
<div class="mimi_field text email required"> | |
<label for="signup_email">Email</label> | |
<input id="signup_email" name="signup[email]" type="text" placeholder="you@example.com" class="required"> | |
<div class="mimi_field_feedback"></div><span class="mimi_funk"></span> | |
</div> | |
<div class="mimi_field text"> | |
<label for="signup_first_name" id="wf_label">First Name</label> | |
<input id="signup_first_name" name="signup[first_name]" type="text"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--<div class="check"> | |
<input id="list_646160" name="lists[]" value="646160" type="checkbox" checked="checked"> | |
<label for="list_646160">PA North Pittsburgh</label> | |
<span class="mimi_field_feedback"></span><span class="mimi_funk"></span> | |
</div> | |
<div class="check"> | |
<input id="list_646194" name="lists[]" value="646194" type="checkbox" checked="checked"> | |
<label for="list_646194">OH Mahoning County</label> | |
<span class="mimi_field_feedback"></span><span class="mimi_funk"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="http://newsletter.arrondean.com/signups/subscribe/70507" method="post" id="mad_mimi_signup_form" target="_blank"> | |
<fieldset> | |
<div class="mimi_field text email required"> | |
<label for="signup_email">Email</label> | |
<input id="signup_email" name="signup[email]" type="text" placeholder="you@example.com" class="required"> | |
<div class="mimi_field_feedback"></div><span class="mimi_funk"></span> | |
</div> | |
<div class="mimi_field text"> | |
<label for="signup_name" id="wf_label">Name</label> | |
<input id="signup_name" name="signup[name]" type="text"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="http://localhost:3000/signups/subscribe/9" method="post" id="mad_mimi_signup_form" target="_blank"> | |
<fieldset> | |
<div class="mimi_field text email required"> | |
<label for="signup_email">Email</label> | |
<input id="signup_email" name="signup[email]" type="text" placeholder="you@example.com" class="required" /> | |
<div class="mimi_field_feedback"></div><span class="mimi_funk"></span> | |
</div> | |
<div class="mimi_field text"> | |
<label for="signup_first_name" id="wf_label">First Name</label> | |
<input id="signup_first_name" name="signup[first_name]" type="text" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COLUMN_TYPES = { | |
:name => column(with(/^name$/i), :transform => :split_name), | |
:email => column(with(/e\-?mail/i), :transform => :clean_email), | |
:first_name => column(with(/first/i)), | |
:last_name => column(with(/last/i)), | |
:phone => column(with(/phone/i)), | |
:company => column(with(/company/i)), | |
:title => column(with(/title/i)), | |
:address => column(with(/address/i), without(/e\-?mail/i)), | |
:city => column(with(/city|town/i)), |