Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

flex-edit.html.twig 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {% extends "partials/base.html.twig" %}
  2. {% set object = form.object %}
  3. {% if object is null %}
  4. {% throw 404 'Not Found' %}
  5. {% endif %}
  6. {% if form.flash.exists() %}
  7. {% set draft = true %}
  8. {% try %}
  9. {% set object = form.updateObject() %}
  10. {% catch %}
  11. {% endcatch %}
  12. {% endif %}
  13. {% if header.title %}
  14. {% do page.title('Edit ' ~ object.title) %}
  15. {% endif %}
  16. {% block content %}
  17. {% include 'partials/messages.html.twig' ignore missing %}
  18. <section id="default-page" class="basic-row">
  19. <div class="container grid-sm form">
  20. {{ page.content()|raw }}
  21. {#
  22. <div class="unsaved-changes d-hide">You have unsaved changes</div>
  23. #}
  24. {% include "forms/form.html.twig" %}
  25. </div>
  26. </section>
  27. {% block modals %}
  28. {#
  29. {% if form.buttons.preview %}
  30. {% include 'modals/flex-preview.html.twig' %}
  31. {% endif %}
  32. #}
  33. {% endblock %}
  34. {% endblock %}