Files
IncomeTaxSystem/templates/update_itr.html

44 lines
1.3 KiB
HTML
Raw Normal View History

2025-09-18 11:33:28 +05:30
<!DOCTYPE html>
<html lang="en">
2025-09-18 11:33:28 +05:30
<head>
<meta charset="UTF-8">
<title>Update ITR Record</title>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<style>
/* Back button styling */
.back-btn {
display: inline-block;
margin-bottom: 20px;
padding: 10px 18px;
background: #6c757d;
color: white;
font-size: 15px;
font-weight: 600;
border-radius: 6px;
text-decoration: none;
transition: background 0.3s ease;
}
.back-btn:hover {
background: #5a6268;
}
</style>
2025-09-18 11:33:28 +05:30
</head>
2025-09-18 11:33:28 +05:30
<body>
<div class="container">
<!-- Back to Dashboard Button -->
<a href="{{ url_for('index') }}" class="back-btn">← Back to Dashboard</a>
2025-09-18 11:33:28 +05:30
<h2>Update ITR Record for Year {{ record.year }}</h2>
<form method="POST" action="{{ url_for('update_itr', id=record.id) }}">
{% for field in record.keys() if field != 'id' %}
<label>{{ field.replace("_", " ").title() }}:</label>
<input type="number" name="{{ field }}" step="any" value="{{ record[field] }}" required>
2025-09-18 11:33:28 +05:30
{% endfor %}
<button type="submit">Update Record</button>
</form>
</div>
</body>
2025-09-18 11:33:28 +05:30
</html>