Batman
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Edit bike - bike-admin{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-head"><h1>Edit {{ bike.name }}</h1></div>
|
||||
<div class="card">
|
||||
{% include "components/bike_form.html" with context %}
|
||||
</div>
|
||||
<div class="danger-zone">
|
||||
<h2 class="muted">Danger zone</h2>
|
||||
<form method="post" action="/bikes/{{ bike.id }}/delete"
|
||||
onsubmit="if(!confirm('Delete this bike and all its events? This cannot be undone.'))return false;">
|
||||
<input type="hidden" name="csrf" value="{{ csrf }}">
|
||||
<button class="btn btn-danger" type="submit">Delete bike</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user