              <div class="items-baseline">
                <button meld:click="remove_todo({{loop.index - 1}})" 
                    class="text-red-700 pl-4 text-3xl">&times;</button>
                </div>
            </li>
            {% endfor %}
        </ul>
        {% endif %}
        {% if completed_todos %}
        <div class="pt-4">
            <ul class="divide-y divide-gray-200">
                {% for todo in completed_todos %}
                <li class="p-4 flex justify-between">
             