From dc5e44b3d0f359479c62b42df099f7dc24d98bb4 Mon Sep 17 00:00:00 2001 From: echarp Date: Mon, 22 Apr 2019 23:53:20 +0200 Subject: [PATCH] Tag can be removed, again --- app/views/tags/_context.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/views/tags/_context.html.haml b/app/views/tags/_context.html.haml index 5f3fb78c..7c96aab2 100644 --- a/app/views/tags/_context.html.haml +++ b/app/views/tags/_context.html.haml @@ -11,3 +11,11 @@ %a(href='http://www.linux-presentation-day.org') = image_tag 'linux-presentation-day.png', width: '150', height: '75', alt: 'Linux presentation day', style: 'vertical-align: middle' + +- elsif action_name != 'show' + %em.fa.fa-tag + = params[:tag] + +- if action_name != 'show' + %a(href="?tag=") + %em.fa.fa-times