form--comment-edit.html.twig in Open Social 8.6
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/comment/form--comment-edit.html.twig
- 8 themes/socialbase/templates/comment/form--comment-edit.html.twig
- 8.2 themes/socialbase/templates/comment/form--comment-edit.html.twig
- 8.3 themes/socialbase/templates/comment/form--comment-edit.html.twig
- 8.4 themes/socialbase/templates/comment/form--comment-edit.html.twig
- 8.5 themes/socialbase/templates/comment/form--comment-edit.html.twig
- 8.7 themes/socialbase/templates/comment/form--comment-edit.html.twig
- 8.8 themes/socialbase/templates/comment/form--comment-edit.html.twig
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.
See also
File
themes/socialbase/templates/comment/form--comment-edit.html.twigView source
- {#
- /**
- * @file
- * 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.
- *
- * @see template_preprocess_form()
- *
- * @ingroup themeable
- */
- #}
- {{ attach_library('socialbase/comment')}}
- <div class="card">
- <div class="card__block">
-
- <form{{ attributes.addClass('margin-top-s comment') }}>
- <div class="comment__avatar">{{ author_picture }}</div>
- <div class="comment__content">
- <div>
- {{ children }}
- </div>
- <div class="help-block">{% trans %} Submitted {% endtrans %} {{ submitted }}</div>
- </div>
- </form>
-
-
- </div>
- </div>