templates/resources/white-paper.twig line 1

Open in your IDE?
  1. {% set resourcesPage=true %}
  2. {% set canonicalUrl=url('white_paper', {id: whitePaper.slug}) %}
  3. {% set title=whitePaper.title %}
  4. {% set metaDescription = whitePaper.description %}
  5. {# {% set metaDescription = whitePaper.metaDescription %} #}
  6. {% extends "parent.twig" %}
  7. {% block content %}
  8.     <section class="content white-paper">
  9.         <div class="container">
  10.             <div class="row">
  11.                 <div class="col-md-8">
  12.                     <div class="white-paper-details">
  13.                         <h1 class="title">{{ whitePaper.title }}</h1>
  14.                         <h2 class="subtitle">White Paper</h2>
  15.                         <p class="lead">{{ whitePaper.description|nl2br|raw }}</p>
  16.                         <p><img src="{{ asset('/img/whitepapers/' ~ whitePaper.slug ~ '.png') }}" alt="{{ whitePaper.title }}" class="img-responsive" />
  17.                     </div>
  18.                 </div>
  19.                 <div class="col-md-4">
  20.                     <div class="white-paper-download">
  21.                         <h3>Download the Report</h3>
  22.                         <!--[if lte IE 8]>
  23.                         <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
  24.                         <![endif]-->
  25.                         <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
  26.                         <script>
  27.                             hbspt.forms.create({
  28.                                 region: "na1",
  29.                                 portalId: "5135501",
  30.                                 formId: "{{ whitePaper.hubspotFormId }}",
  31.                                 redirectUrl: '{{ path('white_paper_thanks', {whitepaper: whitePaper.title, whitepaperId: whitePaper.slug})|raw }}',
  32.                             });
  33.                         </script>
  34.                     </div>
  35.                 </div>
  36.             </div>
  37.         </div>
  38.     </section>
  39.     <!-- Call to Action -->
  40.     <section class="call-to-action-dark">
  41.         <div class="container">
  42.             <h2>Get paid faster</h2>
  43.             <p>Interested in learning how to put your billing on autopilot?</p>
  44.             <div class="buttons">
  45.                 <a href="{{ path('schedule_demo') }}" class="btn btn-lg btn-coral request-demo" data-label="White Paper ({{ whitePaper.title }})">
  46.                     Schedule a Demo
  47.                 </a>
  48.             </div>
  49.         </div>
  50.     </section>
  51. {% endblock %}