You are here

form--comment-edit.html.twig in Open Social 8.7

Default theme implementation for a 'form' element.

Available variables

  • attributes: A list of HTML attributes for the wrapper element.
  • children: The child elements of the form.

File

themes/socialbase/templates/comment/form--comment-edit.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a 'form' element.
  5. *
  6. * Available variables
  7. * - attributes: A list of HTML attributes for the wrapper element.
  8. * - children: The child elements of the form.
  9. *
  10. * @see template_preprocess_form()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {{ attach_library('socialbase/comment')}}
  16. <div class="card">
  17. <div class="card__block">
  18. <form{{ attributes.addClass('margin-top-s comment') }}>
  19. <div class="comment__avatar">{{ author_picture }}</div>
  20. <div class="comment__content">
  21. <div>
  22. {{ children }}
  23. </div>
  24. <div class="help-block">{% trans %} Submitted {% endtrans %} {{ submitted }}</div>
  25. </div>
  26. </form>
  27. </div>
  28. </div>