templates/demo/request_demo.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Request a Demo | CogniEdu{% endblock %}
  3. {% block body %}
  4.   <div class="container" style="max-width: 820px; margin: 30px auto; padding: 0 16px;">
  5.     <h1>Request a Demo</h1>
  6.     <p>Tell us a little about your institution and what you'd like to evaluate. We'll follow up to schedule a demo.</p>
  7.     {% for label, messages in app.flashes %}
  8.       {% for message in messages %}
  9.         <div style="padding:10px 12px; margin:12px 0; border:1px solid #ddd; border-radius:8px;">
  10.           {{ message }}
  11.         </div>
  12.       {% endfor %}
  13.     {% endfor %}
  14.     {{ form_start(form) }}
  15.       <div style="margin-bottom:14px;">
  16.         {{ form_label(form.institution) }}
  17.         {{ form_widget(form.institution, { attr: { class: 'form-control' } }) }}
  18.         {{ form_errors(form.institution) }}
  19.       </div>
  20.       <div style="margin-bottom:14px;">
  21.         {{ form_label(form.role) }}
  22.         {{ form_widget(form.role, { attr: { class: 'form-control' } }) }}
  23.         {{ form_errors(form.role) }}
  24.       </div>
  25.       <div style="margin-bottom:14px;">
  26.         {{ form_label(form.name) }}
  27.         {{ form_widget(form.name, { attr: { class: 'form-control' } }) }}
  28.         {{ form_errors(form.name) }}
  29.       </div>
  30.       <div style="margin-bottom:14px;">
  31.         {{ form_label(form.email) }}
  32.         {{ form_widget(form.email, { attr: { class: 'form-control' } }) }}
  33.         {{ form_errors(form.email) }}
  34.       </div>
  35.       <div style="margin-bottom:14px;">
  36.         {{ form_label(form.phone) }}
  37.         {{ form_widget(form.phone, { attr: { class: 'form-control' } }) }}
  38.         {{ form_errors(form.phone) }}
  39.       </div>
  40.       <div style="margin-bottom:14px;">
  41.         {{ form_label(form.message) }}
  42.         {{ form_widget(form.message, { attr: { class: 'form-control' } }) }}
  43.         {{ form_errors(form.message) }}
  44.       </div>
  45.       <button class="btn btn-danger btn-lg" type="submit">Submit Demo Request</button>
  46.     {{ form_end(form) }}
  47.   </div>
  48. {% endblock %}