{% extends 'base.html' %}

{% block content %}
    <h1>{% block title %} Delete Link{% endblock %}</h1>
    <form method="post">
        <div class='link'>
            <div>
                <span class="name">{{ link['name'] }}</span>
                <span class="target">{{ link['target'] }}</span>
                <span class="delete_button"><b>Delete</b></span>
                <span class="edit_button">Edit</span>
            </div>
        </div>
        <input type="hidden" name="link_id" value="{{ link['name'] }}">
        <br>
        <button type="submit">Submit</button>
    </form>
{% endblock %}