Commit 92d1e2c2 authored by Daniel W Bond's avatar Daniel W Bond Committed by Mark Stenglein

created templates for creation and removal of bid flags

parent 11bb4f25
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Bookshare • {{ bid.listing.title }} • {{ bid.bidder.user.first_name }}'s Bid • Flag
{% endblock title %}
{% block content %}
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12 text-center">
<h1><strong>SRCT</strong>&#8203;BOOKSHARE</h1>
<p class="lead text-center"><strong>Flag {{ bid.bidder.user.get_full_name }}'s Bid for ${{ bid.price }} on {{ bid.listing.poster.user.get_full_name }}'s Listing <em>{{ bid.listing.title }}</em></strong></p>
</div>
</div>
</div>
{% load crispy_forms_tags %}
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-md-10 col-md-offset-1">
{% crispy my_form %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock content %}
{% extends 'layouts/base.html' %}
{% block title %}
SRCT Bookshare &bull; {{ bidflag.bid.listing.title }} &bull; {{ bidflag.bid.bidder.user.first_name }}'s Bid &bull; Remove Flag
{% endblock title %}
{% block content %}
<hr />
<div class="row text-center">
<form action="" method="post">{% csrf_token %}
<h3>Are you sure you want to remove your flag on {{ bidflag.bid.bidder.user.get_full_name }}'s Bid for ${{ bidflag.bid.price }} on {{ bidflag.bid.listing.poster.user.get_full_name }}'s listing <em>{{ bidflag.bid.listing.title }}</em>?</h3>
<input type="submit" value="Confirm" class="btn btn-danger btn-sm" />
<input type="submit" value="Never Mind" class="btn btn-default btn-sm" onclick="history.back()" />
</form>
</div>
<hr />
{% endblock content %}
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