Skip to content

Instantly share code, notes, and snippets.

@twinge
Created July 11, 2011 15:59
Show Gist options
  • Save twinge/1076168 to your computer and use it in GitHub Desktop.
Save twinge/1076168 to your computer and use it in GitHub Desktop.
<div class="info">
<center><h4><%= @keyword.post_survey_message.present? ? @keyword.post_survey_message : t('contacts.thanks.message') %></h4></center>
<br><br>
<script type="text/javascript">
setTimeout(function() {
window.location="<%= facebook_logout_url %>?next=<%= request.referrer %>";
}, 10000)
</script>
<div id="countdown">
<center>
<h4><%= t('contacts.thanks.facebook')%></h4>
<br><br>
<h3><%= link_to(t('contacts.thanks.done'), facebook_logout_url(next: request.referrer)) %></h3>
</center>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment