From c53e474ee7bdd986ed91f428ed7e9fc60d8270ad Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Tue, 8 Aug 2017 14:03:04 +0800 Subject: [PATCH] small fix --- app/views/admin/topics/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/topics/_form.html.erb b/app/views/admin/topics/_form.html.erb index d1dd2ea..30a8b26 100644 --- a/app/views/admin/topics/_form.html.erb +++ b/app/views/admin/topics/_form.html.erb @@ -83,8 +83,8 @@
- <%= f.fields_for :subtitle_translations do |f| %> - <%= f.text_area locale, rows: 2, class: "input-block-level", value: (@topic.subtitle_translations[locale] rescue nil) %> + <%= f.fields_for :description_translations do |f| %> + <%= f.text_area locale, rows: 2, class: "input-block-level", value: (@topic.description_translations[locale] rescue nil) %> <% end %>