Skip to content

Commit

Permalink
Added button to save stock as pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
DipanshKhandelwal committed Nov 10, 2017
1 parent 61ec251 commit f43a217
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buy/templates/buy/buy.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@
<h1>
This is selling page.
</h1>
{% if request.user.is_superuser %}
<form action="{% url 'write_pdf'%}">
<input type="submit" value="Save" />
</form>
{% endif %}
{% endblock %}

0 comments on commit f43a217

Please sign in to comment.