Skip to content
Snippets Groups Projects
Commit b9f35e5b authored by Dan Braghis's avatar Dan Braghis
Browse files

Add determination block on the application submission form

parent e4eb3f7d
No related branches found
No related tags found
No related merge requests found
...@@ -21,22 +21,31 @@ ...@@ -21,22 +21,31 @@
</div> </div>
{% endif %} {% endif %}
<div class="wrapper wrapper--medium wrapper--light-grey-bg wrapper--form"> <div class="wrapper wrapper--light-grey-bg wrapper--form wrapper--sidebar">
<form class="form" action="" method="post" enctype="multipart/form-data"> <div>
{% csrf_token %} <form class="form" action="" method="post" enctype="multipart/form-data">
{% csrf_token %}
{% for field in form %} {% for field in form %}
{% if field.field %} {% if field.field %}
{% include "funds/includes/field.html" %} {% include "funds/includes/field.html" %}
{% else %} {% else %}
{{ field }} {{ field }}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% for button_name, button_value in buttons %} {% for button_name, button_value in buttons %}
<input class="button button--primary" type="submit" name="{{ button_name }}" value="{{ button_value }}" /> <input class="button button--primary" type="submit" name="{{ button_name }}" value="{{ button_value }}" />
{% endfor %} {% endfor %}
</form> </form>
</div>
<aside class="sidebar">
{% block determination %}
{% include 'determinations/includes/determination_block.html' with submission=object %}
{% endblock %}
</aside>
</div> </div>
{% endblock %} {% endblock %}
{% block extra_js %} {% block extra_js %}
......
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