Skip to content
Browse files

Fixed a bug where html was incorrectly being escaped for the active tab

  • Loading branch information...
1 parent d3d6215 commit 4e3749251d866f214106ffebc6de983239461068 @mindeavor mindeavor committed with BDQ
Showing with 6 additions and 6 deletions.
  1. +6 −6 core/app/views/admin/shared/_product_tabs.html.erb
View
12 core/app/views/admin/shared/_product_tabs.html.erb
@@ -8,22 +8,22 @@
<ul class="sidebar product-menu">
<%= hook :admin_product_tabs, {:current => current} do %>
- <li<%= ' class="active"' if current == "Product Details" %>>
+ <li<%= raw(' class="active"') if current == "Product Details" %>>
<%= link_to t("product_details"), edit_admin_product_url(@product) %>
</li>
- <li<%= ' class="active"' if current == "Images" %>>
+ <li<%= raw(' class="active"') if current == "Images" %>>
<%= link_to t("images"), admin_product_images_url(@product) %>
</li>
- <li<%= ' class="active"' if current == "Variants" %>>
+ <li<%= raw(' class="active"') if current == "Variants" %>>
<%= link_to t("variants"), admin_product_variants_url(@product) %>
</li>
- <li<%= ' class="active"' if current == "Option Types" %>>
+ <li<%= raw(' class="active"') if current == "Option Types" %>>
<%= link_to t("option_types"), selected_admin_product_option_types_url(@product) %>
</li>
- <li<%= ' class="active"' if current == "Product Properties" %>>
+ <li<%= raw(' class="active"') if current == "Product Properties" %>>
<%= link_to t("product_properties"), admin_product_product_properties_url(@product) %>
</li>
- <li<%= ' class="active"' if current == "Taxons" %>>
+ <li<%= raw(' class="active"') if current == "Taxons" %>>
<%= link_to t("taxons"), selected_admin_product_taxons_url(@product) %>
</li>

0 comments on commit 4e37492

Please sign in to comment.
Something went wrong with that request. Please try again.