diff --git a/app/views/admin/selected_courses/_form.html.erb b/app/views/admin/selected_courses/_form.html.erb index c735163..c9de816 100644 --- a/app/views/admin/selected_courses/_form.html.erb +++ b/app/views/admin/selected_courses/_form.html.erb @@ -43,7 +43,7 @@
-
+
<% if @selected_course.course.nil? %> <% if i == 0%> @@ -55,7 +55,7 @@ <%= f.text_field locale, class: "input-block-level other_course_title #{locale}", placeholder: t("personal_selected_course.course_title"), value: (@selected_course.course_title_translations[locale] rescue nil) %> <% end %> <% else %> - + <%= f.fields_for :course_title_translations do |f| %> <%= f.text_field locale, class: "input-block-level other_course_title #{locale}", placeholder: t("personal_selected_course.course_title"), value: (@selected_course.course_title_translations[locale] rescue nil) %> <% end %>