<% # encoding: utf-8 %> <% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/main-forms" %> <%= stylesheet_link_tag "lib/fileupload" %> <%= stylesheet_link_tag "lib/main-list" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/bootstrap-fileupload" %> <%= javascript_include_tag "lib/file-type" %> <%= javascript_include_tag "lib/module-area" %> <% end %>
<%= select_category(f, @module_app) %>
<%= f.text_field :channel_link ,class: "input-block-level",value: (@video_channel.channel_link rescue nil) %>
<%= f.text_field :owner ,class: "input-block-level",value: (@video_channel.owner rescue nil) %>
<%= select_tags(f, @module_app) %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
">
<%= f.fields_for :title_translations do |f| %> <%= f.text_field locale, class: "input-block-level", placeholder: t(:title), value: (@video_channel.title_translations[locale] rescue nil)%> <% end %>
<%= f.fields_for :description_translations do |f| %> <%= f.text_area locale, class: "input-block-level",placeholder: t("video.description"),value: (@video_channel.description_translations[locale] rescue nil) %> <% end %>
<% end %>
<%= f.submit t('submit'), class: 'btn btn-primary' %> Cancel
<% content_for :page_specific_javascript do %> <% end %>