<h2>Data Input</h2>
<h5>Input Data you want to store</h5>
<div class="row">
    <div class="col-md-6">
    <table border=6>
        <tr>
            <td>
                <form method="POST" action="/updater">
                <div class="form-group">
                    <label for="address">Address:</label>
                    <input type="text" id="address" class="form-control" name="address" required><br><br>
                </div>
                <div class="form-group">
                    <label for="rooms">Rooms:</label>
                    <input type="text" id="rooms" class="form-control" name="rooms" required><br><br>
                </div>
                <div class="form-group">
                    <label for="pool">Pool(True, False):</label>
                    <input type="text" class="form-control" id="pool" name="pool" /><br><br>
                </div>
                <div class="form-group">
                    <label for="real_estate_link">Realestate.com Link:</label>
                    <input type="text" id="real_estate_link" class="form-control" name="real_estate_link" required><br><br>
                </div>
                <div class="form-group">
                    <label for="like_out_of_five">Like Out of 5:</label>
                    <input type="text" id="like_out_of_five" class="form-control" name="like_out_of_five" pattern="[1-5]{1}" required><br><br>
                </div>
                <div class="form-group">
                    <label for="requested_price">Request Price:</label>
                    <input type="text" id="requested_price" class="form-control" name="requested_price" /><br><br>
                </div>
                <div class="form-group">
                    <label for="user_price">What do you think its worth?:</label>
                    <input type="text" id="user_price" class="form-control" name="user_price" /><br><br>
                </div>
                <div class="form-group">
                    <label for="actual_price">What Price did it go for in the end?:</label>
                    <input type="text" id="actual_price" class="form-control" name="actual_price" /><br><br>
                </div>
                <div class="form-group">
                    <label for="suburb">What Suburb is it in?:</label>
                    <input type="text" id="suburb" class="form-control" name="suburb" /><br><br>
                </div>
                <input type="submit" class="btn btn-primary" name="action"/>
            </form>
        </td>
        <td>
            <table border = 1>
            {% for row in list %}
                <table border=2>
                {% for key, value in row.items() %}
                <tr>
                    <th> {{ key }} </th>
                    <td> {{ value }} </td>
                </tr>
                {% endfor %}
                </table>
            {% endfor %}
            </table>
        </td>
    </tr>

</div>