Skip to content

Commit

Permalink
move commission functions up in detail view
Browse files Browse the repository at this point in the history
  • Loading branch information
mrf7777 committed Jan 23, 2024
1 parent 22421bf commit ed8eb11
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

<hr>

<div class="my-3">
{% include "./commission_functions.html" with commission=commission csrf_token=csrf_token request=request some_space_between_functions=True fill=False only %}
</div>

<div class="mb-3">
<h5>Initial Requirements</h5>
<p>{{ commission.initial_request_text|linebreaks|urlize }}</p>
Expand All @@ -37,10 +41,6 @@ <h5>Attachment</h5>
</div>
{% endif %}

<div class="my-5">
{% include "./commission_functions.html" with commission=commission csrf_token=csrf_token request=request some_space_between_functions=True fill=False only %}
</div>

{% if request.user.pk == commission.offer.author.pk %}
<a href="{% url "update_commission" commission.pk %}"><button class="btn btn-primary">Edit</button></a>
{% endif %}
Expand Down

0 comments on commit ed8eb11

Please sign in to comment.