}
//Render template
- return $this->render('@RapsysAir/form/dispute.html.twig', ['title' => $title, 'section' => $section, 'form' => $form->createView(), 'sent' => $request->query->get('sent', 0)]+$this->context);
+ return $this->render('@RapsysAir/default/dispute.html.twig', ['title' => $title, 'section' => $section, 'form' => $form->createView(), 'sent' => $request->query->get('sent', 0)]+$this->context);
}
/**
--- /dev/null
+{% extends '@RapsysAir/body.html.twig' %}
+{% block content %}
+ <section id="form">
+ <header>
+ <h2><a href="{{ path('rapsys_air_dispute') }}">{{ section }}</a></h2>
+ <p>{{ description }}</p>
+ </header>
+ {% if sent %}
+ <p class="message notice">{% trans %}Your message has been sent{% endtrans %}</p>
+ {% else %}
+ {{ form_start(form) }}
+ <div>
+ {{ form_row(form.offense) }}
+
+ {{ form_row(form.court) }}
+
+ {{ form_row(form.notice) }}
+
+ {{ form_row(form.agent) }}
+
+ {{ form_row(form.service) }}
+
+ {{ form_row(form.abstract) }}
+
+ {{ form_row(form.submit) }}
+ </div>
+
+ {# Render CSRF token etc .#}
+ <footer style="display:none">{{ form_rest(form) }}</footer>
+ {{ form_end(form) }}
+ {% endif %}
+ </section>
+{% endblock %}