From ba82dcaf5f3d2cef8e8470095558337218dec841 Mon Sep 17 00:00:00 2001 From: aaronzdavis Date: Mon, 14 Mar 2016 13:20:22 -0700 Subject: [PATCH] Fix categories field not rendering --- app/views/spree/admin/blog_entries/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/blog_entries/_form.html.erb b/app/views/spree/admin/blog_entries/_form.html.erb index af46272c..7ca2da9a 100644 --- a/app/views/spree/admin/blog_entries/_form.html.erb +++ b/app/views/spree/admin/blog_entries/_form.html.erb @@ -20,14 +20,14 @@ <%= form.field_container :category_list do %>
<%= form.label :category_list, Spree.t(:category_list) %> - <%= form.text_field :category_list, :class => '' %> + <%= form.text_field :category_list, value: @blog_entry.category_list.join(", ") %>
<% end %> <%= form.field_container :tag_list do %>
<%= form.label :tag_list, Spree.t(:tag_list) %> - <%= form.text_field :tag_list, :class => '' %> + <%= form.text_field :tag_list, value: @blog_entry.tag_list.join(", ") %>
<% end %>