{% set resourcesPage=true %}
{% set canonicalUrl=url('white_paper', {id: whitePaper.slug}) %}
{% set title=whitePaper.title %}
{% set metaDescription = whitePaper.description %}
{# {% set metaDescription = whitePaper.metaDescription %} #}
{% extends "parent.twig" %}
{% block content %}
<section class="content white-paper">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="white-paper-details">
<h1 class="title">{{ whitePaper.title }}</h1>
<h2 class="subtitle">White Paper</h2>
<p class="lead">{{ whitePaper.description|nl2br|raw }}</p>
<p><img src="{{ asset('/img/whitepapers/' ~ whitePaper.slug ~ '.png') }}" alt="{{ whitePaper.title }}" class="img-responsive" />
</div>
</div>
<div class="col-md-4">
<div class="white-paper-download">
<h3>Download the Report</h3>
<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "5135501",
formId: "{{ whitePaper.hubspotFormId }}",
redirectUrl: '{{ path('white_paper_thanks', {whitepaper: whitePaper.title, whitepaperId: whitePaper.slug})|raw }}',
});
</script>
</div>
</div>
</div>
</div>
</section>
<!-- Call to Action -->
<section class="call-to-action-dark">
<div class="container">
<h2>Get paid faster</h2>
<p>Interested in learning how to put your billing on autopilot?</p>
<div class="buttons">
<a href="{{ path('schedule_demo') }}" class="btn btn-lg btn-coral request-demo" data-label="White Paper ({{ whitePaper.title }})">
Schedule a Demo
</a>
</div>
</div>
</section>
{% endblock %}