Download tasks/llbean/environment/reference/clone/frontend/templates/checkout.html from TIGER-Lab/WebsiteBench: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/llbean/environment/reference/clone/frontend/templates/checkout.html
- Command line
-
hf download hf://datasets/TIGER-Lab/WebsiteBench/tasks/llbean/environment/reference/clone/frontend/templates/checkout.html
-
curl -L -o checkout.html https://huggingface.co/datasets/TIGER-Lab/WebsiteBench/resolve/main/tasks/llbean/environment/reference/clone/frontend/templates/checkout.html
1.3 kB
| {% extends "base.html" %} | |
| {% block title %}Checkout{% endblock %} | |
| {% block content %} | |
| <div class="Checkout_container"> | |
| <h1>Checkout</h1> | |
| {% if error %}<p class="FormControl_error" role="alert">{{ error }}</p>{% endif %} | |
| {% if cart.empty %} | |
| <p>Your shopping bag is empty. <a href="/llb/shop/29">Keep shopping</a>.</p> | |
| {% else %} | |
| <p class="Checkout_sandbox">This clone uses the local sandbox payment profile. It never | |
| accepts a card number, and no real payment is made.</p> | |
| <form method="post" action="/checkout"> | |
| <label class="FormControl_label">Last Name<input class="FormControl_input" name="last_name" required></label> | |
| <label class="FormControl_label">Billing Zip/Postal Code<input class="FormControl_input" name="postal" required></label> | |
| <label class="FormControl_label">Sandbox scenario | |
| <select class="FormControl_input" name="scenario"> | |
| <option value="approved">Approved</option> | |
| <option value="declined">Declined</option> | |
| </select> | |
| </label> | |
| <p class="OrderSummary_row OrderSummary_total"><span>Est. Total:</span><span>${{ '%.2f'|format(cart.total) }}</span></p> | |
| <button class="Button_buttonComponent Button_transactional Button_large" type="submit">Place Order</button> | |
| </form> | |
| {% endif %} | |
| </div> | |
| {% endblock %} | |