From 5c34bce767dcc4f546051301447a58b70d176b0a Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 15 Jan 2016 14:56:15 +0800 Subject: [PATCH] fix for objective edit --- app/views/admin/courses/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/courses/_form.html.erb b/app/views/admin/courses/_form.html.erb index d53d5ad..ff97edc 100644 --- a/app/views/admin/courses/_form.html.erb +++ b/app/views/admin/courses/_form.html.erb @@ -56,7 +56,7 @@
<%= f.fields_for :objective_translations do |f| %> - <%= f.text_area locale, class: "input-block-level ckeditor", placeholder: t("personal_course.objective"), value: (@course.title_translations[locale] rescue nil) %> + <%= f.text_area locale, class: "input-block-level ckeditor", placeholder: t("personal_course.objective"), value: (@course.objective_translations[locale] rescue nil) %> <% end %>