fix for objective edit

This commit is contained in:
Harry Bomrah 2016-01-15 14:56:15 +08:00
parent c119951045
commit 5c34bce767
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
<label class="control-label muted"><%= t("personal_course.objective") %></label>
<div class="controls">
<%= 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 %>
</div>
</div>