<%# 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.job_title"), :class => "col-sm-2 control-label" %>
<%= fe.text_field locale, :class => "form-control", :value => @job.job_title_translations[locale] %>
<%= t("recruitment.example") %>
<% end %> <%= f.fields_for :job_description_translations do |fe| %>
<%= fe.label locale, t("recruitment.job_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.other_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 :category, t("recruitment.category"), :class => "col-sm-2 control-label" %>
<%= f.select :category, RecruitmentCategory.all.asc(:job_category).collect{|rc| [rc.job_category,rc.id.to_s]}, {:include_blank => "Select Category"},{:class => "form-control"} %>
<%= f.label :expiry_date, t("recruitment.expiry_date"), :class => "col-sm-2 control-label" %>
<%= f.datetime_picker :expiry_date, :no_label => true, :new_record => @job.new_record? %>
<%= f.label :currency_type, t("recruitment.currency_type"), :class => "col-sm-2 control-label" %>
<%= f.select :currency_type, ["INR","TWD","USD"] ,{:class => "form-control"} %>
<%= 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 :industrial_area, t("recruitment.industrial_area"), :class => "col-sm-2 control-label" %>
<%= f.text_field :industrial_area, :class => "form-control"%>
<%= t("recruitment.example") %>
<%= 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.label :tools_requirement, t("recruitment.skills"), :class => "col-sm-2 control-label" %>
<%= f.text_field :skills, :class => "form-control", :placeholder => t("recruitment.seperate_with_word"), :value => @job.skills.join(", ") %>
<%= t("recruitment.example") %>
<%= f.hidden_field :post_type, :value => "type1" %> <%= f.hidden_field :employer_profile_id, :value => @profile.profile.id %> <%= f.submit "Submit", :class =>"btn btn-primary" %> <%= t("recruitment.cancel") %>
<%= render :partial => "example_box" %>