helpful-survey-spike

This commit is contained in:
Jennifer Hasegawa
2019-04-16 09:59:28 -07:00
parent ff51cb1de1
commit c0dc7a3099

View File

@@ -34,5 +34,11 @@
<ul class="dev_nav_sidebar card-body" id="dactyl_toc_sidebar"> <ul class="dev_nav_sidebar card-body" id="dactyl_toc_sidebar">
{{ sidebar_content }} {{ sidebar_content }}
</ul> </ul>
<hr>
<!--{# embeds the typeform survey widget. #}-->
<!--{# TODO: On smaller screens, the survey displays before the content - turn off the survey for mobile screens? #}-->
<div id="typeform-survey" class="typeform-widget" data-url="" style="width: 100%; height: 300px;"></div>
<script> $('#typeform-survey').attr('data-url', 'https://ryan1106.typeform.com/to/CROjck?source=' + window.location.pathname); </script>
<script> (function() { var qs,js,q,s,d=document, gi=d.getElementById, ce=d.createElement, gt=d.getElementsByTagName, id="typef_orm", b="https://embed.typeform.com/"; if(!gi.call(d,id)) { js=ce.call(d,"script"); js.id=id; js.src=b+"embed.js"; q=gt.call(d,"script")[0]; q.parentNode.insertBefore(js,q) } })() </script>
</div> </div>
{% endblock %} {% endblock %}