edit.html.twig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends 'admin/base.html.twig' %}
  2. {% form_theme form 'admin/form/custom_theme.html.twig' %}
  3. {% block content %}
  4. <div class="content">
  5. <div class="container-fluid">
  6. <div class="row">
  7. <div class="col-md-12">
  8. <div class="card">
  9. <div class="card-header">
  10. <h4 class="card-title">{{ title }}</h4>
  11. </div>
  12. <div class="card-body">
  13. {{ form_start(form) }}
  14. <div class="row">
  15. <div class="col-md-12">
  16. {{ form_row(form.email) }}
  17. </div>
  18. </div>
  19. <div class="row">
  20. <div class="col-md-12">
  21. {{ form_row(form.is_active) }}
  22. </div>
  23. </div>
  24. <p class="text-center">
  25. <button type="submit" class="btn btn-primary btn-fill">Сохранить</button>
  26. </p>
  27. {{ form_end(form) }}
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. {% endblock %}