Pulled changes from xtine branch.

Modified views.py and profile.html so the form will come out.
Cleaned the form.
parent abf6cf29
...@@ -75,10 +75,8 @@ ...@@ -75,10 +75,8 @@
<div class="modal-body"> <div class="modal-body">
<form action="" method="POST"> <form action="" method="POST">
<div class="form-group createstore"> <div class="form-group createstore">
<h5>Current Highest Bid: </h5>
<h3>PHP {{highest_bid}}</h3>
{% csrf_token %} {% csrf_token %}
{{ form }} {{ createStoreForm.as_p }}
</div> </div>
</div> </div>
......
...@@ -263,7 +263,7 @@ def profile(request, pk): ...@@ -263,7 +263,7 @@ def profile(request, pk):
'auctionsOfUser': auctionsOfUser, 'auctionsOfUser': auctionsOfUser,
'auctions': auctions, 'auctions': auctions,
'idsOfAuction': idsOfAuction, 'idsOfAuction': idsOfAuction,
'createStoreForm': form, 'createStoreForm': form
} }
return render(request, "boodlesite/templates/profile.html", context) return render(request, "boodlesite/templates/profile.html", context)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment