]> git.immae.eu Git - github/wallabag/wallabag.git/blame - themes/default/edit-tags.twig
merge epub with all the dev evolutions
[github/wallabag/wallabag.git] / themes / default / edit-tags.twig
CommitLineData
6cab59c3
NL
1{% extends "layout.twig" %}
2{% block title %}edit tags{% endblock %}
3{% block menu %}
4{% include '_menu.twig' %}
5{% endblock %}
6{% block content %}
032e0ca1 7
eb365a01
JS
8<script src="{{ poche_url }}themes/_global/js/jquery-ui-1.10.4.custom.min.js"></script>
9<script src="{{ poche_url }}themes/_global/js/autoCompleteTags.js"></script>
10<link rel="stylesheet" href="{{ poche_url }}themes/_global/css/jquery-ui-1.10.4.custom.min.css" media="all">
fb26cc93 11
032e0ca1
MR
12<div id="article">
13 <header class="mbm">
14 <h1>{{ entry.title|raw }}</h1>
15 </header>
16</div>
17
6cab59c3 18{% if tags is empty %}
7ee19725 19{% trans "no tags" %}
6cab59c3
NL
20{% endif %}
21<ul>
c432fa16 22{% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&amp;tag_id={{ tag.id }}&amp;id={{ entry_id }}">✘</a></li>{% endfor %}
6cab59c3 23</ul>
fb26cc93 24<form method="post" action="./?action=add_tag" id="editTags">
c432fa16 25 <input type="hidden" name="entry_id" value="{{ entry_id }}" />
7ee19725 26 <label for="value">{% trans "Add tags:" %}</label>
27 <input type="text" placeholder="{% trans "interview" %}, {% trans "editorial" %}, {% trans "video" %}" id="value" name="value" required="required" />
b1bfd4cb 28 <input type="submit" value="Tag" />
fb26cc93
MR
29 <p>{% trans "Start typing for auto complete." %}<br>
30 {% trans "You can enter multiple tags, separated by commas." %}</p>
032e0ca1 31
6cab59c3 32</form>
fb26cc93 33<br>
032e0ca1 34<a href="./?view=view&id={{ entry_id }}">&laquo; {% trans "return to article" %}</a>
b1bfd4cb 35{% endblock %}