blob: 4d13efa83a44d2081dcc0cb3463dc575a4a64666 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{% extends 'card/card.twig' %}
{% block pagecontent %}
<section class="content">
<h3>Edit Card</h3>
</section>
<div class="content">
<button onclick="location.href='/card/{{ card.id }}'">Goto Card</button>
</div>
<div class="content">
<form action="/card/{{ card.id }}/edit" method="post" enctype="multipart/form-data">
{% for meta in card.meta %}
<p>
<label>{{ meta.key }}</label><br>
<input type="text" name="meta[{{ meta.key }}]" value="{{ meta.value }}">
</p>
{% endfor %}
<input type="submit" value="Save">
</form>
</div>
{% endblock %}
|