<%# 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/bootstrap-datetimepicker" %> <%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %> <%# end %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
"> <%= f.fields_for :job_title_translations do |fe| %>
<%= fe.label locale, t("recruitment.exchange_title"), :class => "col-sm-2 control-label" %>
<%= fe.text_field locale, :class => "form-control", :value => @job.job_title_translations[locale] %>
<% end %> <%= f.fields_for :job_description_translations do |fe| %>
<%= fe.label locale, t("recruitment.exchange_description"), :class => "col-sm-2 control-label" %>
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.job_description_translations[locale] %>
<%= t("recruitment.example") %>
<% end %> <%= f.fields_for :other_conditions_translations do |fe| %>
<%= fe.label locale, t("recruitment.exchange_conditions"), :class => "col-sm-2 control-label" %>
<%= fe.text_area locale, :rows=>5, :class => "form-control", :value => @job.other_conditions_translations[locale] %>
<%= t("recruitment.example") %>
<% end %>
<% end %>
<%= f.label :min_credit_score, t("recruitment.min_credit_score"), :class => "col-sm-2 control-label" %>
<%= f.number_field :min_credit_score, :class => "form-control", :max => 500, :min => 1 %>
<%= f.label :internship_duration, t("recruitment.exchange_duration"), :class => "col-sm-2 control-label" %>
<%= t("recruitment.example") %>
<%= f.label :exchange_start_date, t("recruitment.exchange_start_date"), :class => "col-sm-2 control-label" %>
<%= f.datetime_picker :exchange_start_date, :no_label => true, :new_record => @job.new_record? %>
<%= f.label :location_of_work, t("recruitment.location"), :class => "col-sm-2 control-label" %>
<%= f.text_field :location_of_work, :class => "form-control"%>
<%= t("recruitment.example") %>

<%= f.label :work_experience_years, t("recruitment.work_experience"), :class => "col-sm-2 control-label" %>
<%= f.number_field :work_experience_years, :class => "form-control", :max => 50, :min => 0 %>
<%= f.number_field :work_experience_months, :class => "form-control", :max => 11, :min => 0 %>
<%= f.label :academic_type, t("recruitment.academic_type_title"), :class => "col-sm-2 control-label" %>
<%= f.select :academic_type, @academic_types, {:include_blank => "Select Degree"},{:class => "form-control"} %>
<%= f.label :academic_requirement, t("recruitment.academic_requirement"), :class => "col-sm-2 control-label" %>
<%= f.text_area :academic_requirement, :class => "form-control"%>
<%= f.label :language_requirement, t("recruitment.language"), :class => "col-sm-2 control-label" %>
<%= f.text_field :language_requirement, :class => "form-control", :placeholder => t("recruitment.seperate_with_eng") %>
<%= f.hidden_field :post_type, :value => "type3" %> <%= f.hidden_field :employer_profile_id, :value => @profile.profile.id %> <%= f.submit "Submit", :class =>"btn btn-primary" %> <%= t("recruitment.cancel") %>
<%= render :partial => "example_box" %>