aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/edit-tags.twig
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-02-20 19:28:39 +0200
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-02-20 19:28:39 +0200
commit032e0ca13ab8ebf99b5169f6f733db4184cdde6c (patch)
tree202f259fc3d9157e66195036584211e4c84515c1 /themes/default/edit-tags.twig
parent6203ef8e51c8b2712e54a01a183f30d282926b0b (diff)
downloadwallabag-032e0ca13ab8ebf99b5169f6f733db4184cdde6c.tar.gz
wallabag-032e0ca13ab8ebf99b5169f6f733db4184cdde6c.tar.zst
wallabag-032e0ca13ab8ebf99b5169f6f733db4184cdde6c.zip
a lot of refactoring: tag action is now handled by home view and uses sorting and pagination. Some small view enhacenments. Fix of #476, #461 for baggy and other themes
Diffstat (limited to 'themes/default/edit-tags.twig')
-rw-r--r--themes/default/edit-tags.twig15
1 files changed, 12 insertions, 3 deletions
diff --git a/themes/default/edit-tags.twig b/themes/default/edit-tags.twig
index 53852d39..83f04aa0 100644
--- a/themes/default/edit-tags.twig
+++ b/themes/default/edit-tags.twig
@@ -4,6 +4,13 @@
4{% include '_menu.twig' %} 4{% include '_menu.twig' %}
5{% endblock %} 5{% endblock %}
6{% block content %} 6{% block content %}
7
8<div id="article">
9 <header class="mbm">
10 <h1>{{ entry.title|raw }}</h1>
11 </header>
12</div>
13
7{% if tags is empty %} 14{% if tags is empty %}
8no tags 15no tags
9{% endif %} 16{% endif %}
@@ -11,10 +18,12 @@ no tags
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 %} 18{% 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> 19</ul>
13<form method="post" action="./?action=add_tag"> 20<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 }}" /> 21 <input type="hidden" name="entry_id" value="{{ entry_id }}" />
22 <label for="value">Add tags: </label>
23 <input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" />
17 <input type="submit" value="Tag" /> 24 <input type="submit" value="Tag" />
25 <p>{% trans "You can enter multiple tags, separated by commas." %}</p>
26
18</form> 27</form>
19<a href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> 28<a href="./?view=view&id={{ entry_id }}">&laquo; {% trans "return to article" %}</a>
20{% endblock %} 29{% endblock %}