form.html.twig 573B

123456789101112131415161718192021
  1. <textarea name="comment">{% if comment_value is defined %}{{ comment_value }}{% endif %}</textarea>
  2. <div class="buttons">
  3. <input
  4. type="submit"
  5. value="{{ submit_value }}"
  6. class="button"
  7. />
  8. <br />
  9. <input
  10. type="button"
  11. value="{{ cancel_value }}"
  12. class="button cancel"
  13. />
  14. </div>
  15. {% if not own %}
  16. <br />
  17. <input type="checkbox" name="follow" id="input_comment_follow" {% if following %}checked="checked"{% endif %} />
  18. <label for="input_comment_follow">{{ 'element.comments.follow.label'|trans({}, 'elements') }}</label>
  19. {% endif %}