CS50_Labs/Lab9/finance/templates/buy.html

18 lines
567 B
HTML
Raw Normal View History

2024-08-09 17:43:54 +00:00
{% extends "layout.html" %}
{% block title %}
Buy
{% endblock %}
{% block main %}
<form action="/buy" method="post">
<div class="mb-3">
<input autocomplete="off" class="form-control mx-auto w-auto" name="symbol" placeholder="Symbol" type="text">
</div>
<div class="mb-3">
<input autocomplete="off" class="form-control mx-auto w-auto" name="shares" placeholder="Shares" type="number" min="1">
</div>
<button class="btn btn-primary" type="submit">Buy</button>
</form>
{% endblock %}