aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy/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/baggy/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/baggy/edit-tags.twig')
-rw-r--r--themes/baggy/edit-tags.twig7
1 files changed, 5 insertions, 2 deletions
diff --git a/themes/baggy/edit-tags.twig b/themes/baggy/edit-tags.twig
index 9f11a2c3..9e9012ee 100644
--- a/themes/baggy/edit-tags.twig
+++ b/themes/baggy/edit-tags.twig
@@ -4,6 +4,9 @@
4{% include '_menu.twig' %} 4{% include '_menu.twig' %}
5{% endblock %} 5{% endblock %}
6{% block content %} 6{% block content %}
7<div id="article">
8 <h2>{{ entry.title|raw }}</21>
9</div>
7{% if tags is empty %} 10{% if tags is empty %}
8<div class="notags">no tags</div> 11<div class="notags">no tags</div>
9{% endif %} 12{% endif %}
@@ -11,10 +14,10 @@
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 %} 14{% 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> 15</ul>
13<form method="post" action="./?action=add_tag"> 16<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="hidden" name="entry_id" value="{{ entry_id }}" />
18 <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" />
17 <input type="submit" value="Tag" /> 19 <input type="submit" value="Tag" />
20 <p>{% trans "You can enter multiple tags, separated by commas." %}</p>
18</form> 21</form>
19<a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> 22<a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a>
20{% endblock %} 23{% endblock %}