aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy/edit-tags.twig
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>2014-02-12 21:58:40 +0100
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>2014-02-12 21:58:40 +0100
commit943ac3c77ec1dd93d14a780b25fa147d0f882760 (patch)
tree2c22e26e4066a97f0548d97531aabccbd3fe7abd /themes/baggy/edit-tags.twig
parent83b47311ba0b8383da7955723a694b0fb3819062 (diff)
downloadwallabag-943ac3c77ec1dd93d14a780b25fa147d0f882760.tar.gz
wallabag-943ac3c77ec1dd93d14a780b25fa147d0f882760.tar.zst
wallabag-943ac3c77ec1dd93d14a780b25fa147d0f882760.zip
new theme, baggy one cf #448
Diffstat (limited to 'themes/baggy/edit-tags.twig')
-rw-r--r--themes/baggy/edit-tags.twig20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/baggy/edit-tags.twig b/themes/baggy/edit-tags.twig
new file mode 100644
index 00000000..9f11a2c3
--- /dev/null
+++ b/themes/baggy/edit-tags.twig
@@ -0,0 +1,20 @@
1{% extends "layout.twig" %}
2{% block title %}edit tags{% endblock %}
3{% block menu %}
4{% include '_menu.twig' %}
5{% endblock %}
6{% block content %}
7{% if tags is empty %}
8<div class="notags">no tags</div>
9{% endif %}
10<ul>
11{% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&amp;tag_id={{ tag.id }}&amp;id={{ entry_id }}">✘</a></li>{% endfor %}
12</ul>
13<form method="post" action="./?action=add_tag">
14 <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" />
15 <p>{% trans "You can enter multiple tags, separated by commas." %}</p>
16 <input type="hidden" name="entry_id" value="{{ entry_id }}" />
17 <input type="submit" value="Tag" />
18</form>
19<a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a>
20{% endblock %}