<%= f.label :category ,t(:category), :class=>"control-label muted" %>
<%= select_category(f, @module_app) %>
<%= render partial: 'admin/member_selects/email_selection_box', locals: {field: 'subject[email_member_ids][]', email_members: @subject.email_members} %>
<%= render partial: 'admin/member_selects/email_selection_box', locals: {field: 'subject[co_professor_ids][]', email_members: @subject.co_professors,index:'1',select_name:'co_professors'} %>
<%= select_tags(f, @module_app) %>
<% if @subject.image.file %>
<%= image_tag @subject.image %>
<% else %>
<% end %>
<%= t(:select_image) %>
<%= t(:change) %>
<%= f.file_field :image %>
<%= t(:cancel) %>
<% @site_in_use_locales.each do |locale| %>
<%= f.fields_for :image_description_translations do |f| %>
<%= f.text_field locale, value: (@subject.image_description_translations[locale.to_s] rescue nil) %>
<% end %>
<% end %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
<% end %>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<% content_for :page_specific_javascript do %>
<% end %>