Commit 702e361f authored by Willard's avatar Willard

Move delete stall button to stall list

parent 6a888c1c
......@@ -22,7 +22,4 @@
</div>
</div>
</form>
<form action="{{ url_for('delete_stall', stall_id=stall.id) }}" method="POST">
<button type="submit" class="button-delete">Delete</button>
</form>
{% endblock %}
\ No newline at end of file
......@@ -17,8 +17,11 @@
<div class="list-info">
<span class="list-name">{{stall.name}}</span>
</div>
<div class="list-info">
<div class="dashboard-row">
<a href="{{ url_for('stall', stall_id=stall.id) }}"><button class="list-button">Manage Stall</button></a>
<form action="{{ url_for('delete_stall', stall_id=stall.id) }}" method="POST">
<button type="submit" class="list-button button-delete">Delete</button>
</form>
</div>
</div>
{% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment