Skip to content
Snippets Groups Projects
Commit 51ff77bf authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Move comment for to use the delegated form template

parent 9e6d2a9f
No related branches found
No related tags found
No related merge requests found
<h4>Add communication</h4> <h4>Add communication</h4>
<div class="wrapper wrapper--comments"> <div class="wrapper wrapper--comments">
<form class="form form--comments" method="post" id="comment-form"> {% include 'funds/includes/delegated_form_base.html' with form=comment_form value='Comment' extra_classes='form__comments'%}
{% csrf_token %}
{{ comment_form }}
<button id="comment-form-submit" name="form-submitted" form="comment-form" class="button button--primary" type="submit" value="comment">Add message</button>
</form>
</div> </div>
<form class="form" method="post" id="{{ form.name }}"> <form class="form {{extra_classes}}" method="post" id="{{ form.name }}">
{% csrf_token %} {% csrf_token %}
<div class="form__item"> <div class="form__item">
{{ form }} {{ form }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment