Spaces:
Runtime error
Runtime error
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Add Payment</title> | |
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"> | |
</head> | |
<body> | |
<h1>Add Payment</h1> | |
<form action="{{ url_for('add_payment') }}" method="post"> | |
<label for="dollars">Amount (₹):</label> | |
<input type="number" step="0.01" name="dollars" required> | |
<br> | |
<label for="paymentTo">Paid to</label> | |
<input type="text" name="paymentTo" required> | |
<br> | |
<button type="submit">Submit Payment</button> | |
</form> | |
{% with messages = get_flashed_messages() %} | |
{% if messages %} | |
<ul> | |
{% for message in messages %} | |
<li>{{ message }}</li> | |
{% endfor %} | |
</ul> | |
{% endif %} | |
{% endwith %} | |
<a href="/">Back to Home</a> | |
</body> | |
</html> | |