    {% for memory in memories %}
                    <tr>
                        <td>{{ memory[0] }}</td>
                        <td>{{ memory[1] }}</td>
                        <td>{{ memory[2] }}</td>
                        <td>
                            <form action="/delete-memory" method="post" style="display:inline;">
                                <input type="hidden" name="memory_id" value="{{ memory[0] }}">
                                <button type="submit" class="delete-btn">Delete</butto