From 30ee0cd4b472a2531d6d457fb4ef55ce13525436 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Mon, 5 Mar 2018 11:54:26 +0000 Subject: [PATCH] changing comment form input to a button so we're able to change the display text + adding comment form title --- .../activity/templates/activity/include/comment_form.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opentech/apply/activity/templates/activity/include/comment_form.html b/opentech/apply/activity/templates/activity/include/comment_form.html index c20300aec..57287e679 100644 --- a/opentech/apply/activity/templates/activity/include/comment_form.html +++ b/opentech/apply/activity/templates/activity/include/comment_form.html @@ -1,5 +1,6 @@ -<form method="post" id="comment-form"> +<h4>Add communication</h4> +<form class="form form--comments" method="post" id="comment-form"> {% csrf_token %} {{ comment_form }} - <input id="comment-form-submit" name="form-submitted" type="submit" form="comment-form" value="Comment"> + <button id="comment-form-submit" name="form-submitted" form="comment-form" class="button button--primary" type="submit" value="comment">Add message</button> </form> -- GitLab