From 1f5f6d258932b40d6686b1aad740de07ec5f4330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Mon, 17 Aug 2015 23:27:29 +0200 Subject: [PATCH] makes labels work in admin/tags --- app/views/admin/tags/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/tags/index.html.erb b/app/views/admin/tags/index.html.erb index d8090aa41..06d9e2385 100644 --- a/app/views/admin/tags/index.html.erb +++ b/app/views/admin/tags/index.html.erb @@ -32,7 +32,7 @@ as: :tag, html: { id: "edit_tag_#{tag.id}", class: "text-right"}) do |f| %> - <%= f.label :featured do %> + <%= f.label "featured_#{tag.id}" do %> <%= f.check_box :featured, label: false, id: "tag_featured_#{tag.id}", class: "left" %> <%= t("admin.tags.mark_as_featured") %> <% end %>