You are here

form--post-comment.html.twig in Open Social 8.3

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/form/form--post-comment.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. <div class="comment">
  16. <div class="comment__avatar">{{ current_user_picture }}</div>
  17. <div class="comment__content">
  18. <form{{ attributes }}>
  19. <div class="form-group-inline">
  20. {{ children }}
  21. </div>
  22. </form>
  23. </div>
  24. </div>