<%= select_category(f, @module_app) %>
" for="youtube">
<%= f.label :youtube_link, "YouTube Link", :class => "control-label muted" %>
<%= f.text_field :youtube_link %>
<%= 'ex. https://www.youtube.com/watch?v=UHF2e3lyPVU' %>
" for="upload">
<%= f.label :video, "Video", :class => "control-label muted" %>
" for="upload">
<%= f.label :image, "Cover Image", :class => "control-label muted" %>
<% if @vlog.image.file %>
<%= image_tag @vlog.image %>
<% else %>
<% end %>
<%= t(:select_image) %>
<%= t(:change) %>
<%= f.file_field :image %>
<%= t(:cancel) %>
<%= f.label :display_in_profile, "Display in profile", :class => "control-label muted" %>
<%= f.check_box :display_in_profile %>
<%= select_tags(f, @module_app) %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
<% end %>
<% if @vlog && !@vlog.v_log_files.blank? %>
<% @vlog.v_log_files.each_with_index do |v_log_file, i| %>
<%= f.fields_for :v_log_files, v_log_file do |f| %>
<%= render :partial => 'form_file', :object => v_log_file, :locals => {:f => f, :i => i} %>
<% end %>
<% end %>
<% end %>