app/views/backend/content/rows/videos/edit.html.erb in udongo-6.4.1 vs app/views/backend/content/rows/videos/edit.html.erb in udongo-6.5.0
- old
+ new
@@ -7,7 +7,14 @@
<div class="col-md-4">
<%= f.input :aspect_ratio, collection: ContentVideo::ASPECT_RATIOS, include_blank: false %>
</div>
</div>
+ <div class="row">
+ <div class="col-12">
+ <% content_type = Udongo.config.flexible_content.video_caption_editor? ? :ckeditor : :text %>
+ <%= f.input :caption, as: content_type %>
+ </div>
+ </div>
+
<%= render 'backend/form_actions', cancel_url: '#lity-close' %>
<% end %>