fix for objective edit
This commit is contained in:
parent
c119951045
commit
5c34bce767
|
@ -56,7 +56,7 @@
|
||||||
<label class="control-label muted"><%= t("personal_course.objective") %></label>
|
<label class="control-label muted"><%= t("personal_course.objective") %></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<%= f.fields_for :objective_translations do |f| %>
|
<%= 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 %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue