Skip to content

Commit

Permalink
makes labels work in admin/tags
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Aug 17, 2015
1 parent 59bd6e8 commit 1f5f6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/tags/index.html.erb
Expand Up @@ -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" %>
<span class="checkbox left"><%= t("admin.tags.mark_as_featured") %></span>
<% end %>
Expand Down

0 comments on commit 1f5f6d2

Please sign in to comment.