Commit 702e361f authored by Willard's avatar Willard

Move delete stall button to stall list

parent 6a888c1c
...@@ -22,7 +22,4 @@ ...@@ -22,7 +22,4 @@
</div> </div>
</div> </div>
</form> </form>
<form action="{{ url_for('delete_stall', stall_id=stall.id) }}" method="POST">
<button type="submit" class="button-delete">Delete</button>
</form>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -17,8 +17,11 @@ ...@@ -17,8 +17,11 @@
<div class="list-info"> <div class="list-info">
<span class="list-name">{{stall.name}}</span> <span class="list-name">{{stall.name}}</span>
</div> </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> <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>
</div> </div>
{% endfor %} {% 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