banner/trial-form.html

  1. ---
  2. default_classes: "py-11"
  3. ---
  4. {{#
  5. /**
  6. * @name banner/trial-form
  7. * @description A partial for a banner with a trail-form
  8. * @see Uses partial {@link form/free-trial}
  9. * @todo Document property vars
  10. * @todo Set up defaults for vars
  11. * @todo Fix <code>default_classes</code> to use <code>custom_classes</code> with defaults
  12. */
  13. #}}
  14. <section class="px-5 {{ custom_classes or default_classes }} {{ background_color }}">
  15. <div class="mw-grid mx-auto l--grid l--g-cols l--gap-m l--ai-center l--my-5">
  16. {{ global_free_trial_form }}
  17. <div class="m--g-col-6">
  18. <h2 class="title-2 ta-center mb-4 l--ta-left mt-0 l--title-4 l--mb-5 {{ text_color }}">{{ banner_title or global_free_trial_banner_title | widont }}</h2>
  19. <p class="body-3 ta-center l--ta-left fw-500 mb-8 l--mb-0 {{ text_color }}">{{ banner_copy or global_free_trial_banner_copy }}</p>
  20. </div>
  21. {{ /global_free_trial_form }}
  22. <div class="mt-8 mw-32 mx-auto m--mt-0 m--g-col-6 l--mx-0 l--mw-none l--pl-8">
  23. {{ partial:form/free-trial }}
  24. </div>
  25. </div>
  26. </section>