Skip to content

Instantly share code, notes, and snippets.

View JeffTD's full-sized avatar

Jeff Dunne JeffTD

View GitHub Profile
@JeffTD
JeffTD / autocomplete_address_signup.html
Created January 19, 2016 02:47
Using google's map api to autocomplete individual address fields in a NationBuilder signup page
<div class="form-wrap">
<div class="form">
{% form_for signup %}
{% if request.sorta_logged_in? %}
<h4>Hi {{ request.current_signup.name_or_email }}, thanks for joining!</h4>
{% if request.logged_in? == false %}
<div class="padbottommore"><small>If you're not {{ request.current_signup.name_or_email }}, <a href="{{ request.current_signup.logout_url }}">click here to signup</a>.</small></div>
{% endif %}