<!DOCTYPE html>
<html>

<head>
    <title>Upload Documents</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
    <script src="/static/js/year_dropdown.js"></script>
</head>

<body>
    <div class="container">

        <!-- Back to Dashboard Button -->
        <a href="{{ url_for('index') }}" class="back-btn">← Back to Dashboard</a>

        <h2>Upload Income Tax Documents</h2>
        <form method="POST" enctype="multipart/form-data">
            <!-- <label for="year">Year:</label>
            <input type="number" name="year" required> -->

            <div class="form-group">
                <label>Year:</label>
                <select id="year" name="year" required></select>
            </div>
            <div class="form-group">
                <label for="stage">Stage:</label>
                <select name="stage" required>
                    <option value="ITR">ITR</option>
                    <option value="AO">AO</option>
                    <option value="CIT">CIT</option>
                    <option value="ITAT">ITAT</option>
                </select>
            </div>
            <label for="documents">Select Documents:</label>
            <input type="file" name="documents" multiple required>

            <button type="submit">Upload</button>
        </form>
    </div>
</body>

</html>