{% extends 'layouts/master.html' %} {% set active_page = "programadas" %} {% block title %}Programadas{% endblock %} {% block body %} <h1>Programadas</h1> <table class="table"> <thead> <tr> <th scope="col">Titulo</th> <th></th> </tr> </thead> <tbody> {% for item in programado_all %} <tr> <td>{{ item.title }}</td> <td> <form action="{{ url_for('programadas_borrar') }}" method="post"> <input type="hidden" name="id" value="{{ item.id }}"> <input type="submit" class="btn btn-danger" value="Borrar"> </form> </td> </tr> {% endfor %} </tbody> </table> {% endblock %}