<%= 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-datetimepicker" %> <%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %> <%= javascript_include_tag "lib/bootstrap-fileupload" %> <%= javascript_include_tag "lib/file-type" %> <%# end %>
<%= render :partial => "dashboard_header" %>

Employee Portfolio


<%= form_for @profile, url: {:action => "updateprofile"}, html: {:class => "form-horizontal main-forms", :id => "portfolioForm"} do |f| %>
<% @site_in_use_locales.each_with_index do |locale, i| %>
"> <%= f.fields_for :employee_profile do |fe| %> <%= fe.fields_for :desired_job_title_translations do |fe| %>
<%= fe.label locale, "Job Title", :class => "col-sm-2 control-label" %>
<%= fe.text_field locale, :class => "form-control", :value => @profile.employee_profile.desired_job_title_translations[locale] %>
<% end %> <%= fe.fields_for :current_company_translations do |fe| %>
<%= fe.label locale, "Current Company", :class => "col-sm-2 control-label" %>
<%= fe.text_field locale, :class => "form-control", :value => @profile.employee_profile.current_company_translations[locale] %>
<% end %> <%= fe.fields_for :introduction_translations do |fe| %>
<%= fe.label locale, "Introduction", :class => "col-sm-2 control-label" %>
<%= fe.text_area locale, :rows => 5, :class => "form-control", :value => @profile.employee_profile.introduction_translations[locale], :placeholder => "Example: Professional developer with 6 years of experience with good knowledge of computer languages." %>
This will be the first thing companies will see on your profile.
<% end %> <%= fe.fields_for :resume_content_translations do |fe| %>
<%= fe.label locale, "Resume Content", :class => "col-sm-2 control-label" %>
<%= fe.cktext_area locale, :class => "ckeditor form-control", :value => @profile.employee_profile.resume_content_translations[locale] %>
<% end %> <% end %>
<% end %>
<%= f.fields_for :employee_profile do |fe| %>
<%= fe.label :desired_place, "Current Location", :class => "col-sm-2 control-label" %>
<%= fe.text_field :desired_place, :class => "form-control" %>
<%= f.label :skills, "Skills", :class => "col-sm-2 control-label" %>
<%= fe.text_field :skills, :class => "form-control", :placeholder => "Seperate with (,) ex; Word, Excel", :value => (@profile.employee_profile.skills.join(", ") rescue "") %>
<%= fe.label :languages, "Language", :class => "col-sm-2 control-label" %>
<%= fe.text_field :languages, :class => "form-control", :placeholder => "Seperate with (,) ex; English, Chinese" %>
<%= fe.label :recommendation1_info, "First Recommendation", :class => "col-sm-2 control-label" %>
<%= fe.text_area :recommendation1_info, :rows => 5, :class => "form-control", :placeholder => "Recommendation name and contact" %>
<%= fe.label :recommendation2_info, "Second Recommendation", :class => "col-sm-2 control-label" %>
<%= fe.text_area :recommendation2_info, :rows => 5, :class => "form-control", :placeholder => "Recommendation name and contact" %>
<% if !@profile.employee_profile.resume.nil? && !@profile.employee_profile.resume.url.nil? %>
<% end %>
<%= fe.label :resume, "Upload Resume", :class => "col-sm-2 control-label" %>

<%= fe.file_field :resume %>

<%= fe.label :exprience_years, "Total Experience", :class => "col-sm-2 control-label" %>
<%= fe.number_field :experience_years, :class => "form-control", :max => 50, :min => 0 %> Years
<%= fe.number_field :experience_months, :class => "form-control", :max => 11, :min => 0 %> Months
<% end %>
<%= f.submit "Save", :class =>"btn btn-primary" %> <%= f.submit "Next", :class =>"btn btn-primary" %>
<% end %>