<%# 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" %> <%# end %>

<%= t("recruitment.employer_personal_profile") %>


<% @site_in_use_locales.each_with_index do |locale, i| %>
"> <%= f.fields_for :employer_profile do |fe| %> <%= fe.fields_for :company_name_translations do |fe| %>
<%= fe.label locale, t("recruitment.company_name"), :class => "col-sm-2 control-label" %>
<%= fe.text_field locale, :class => "form-control", :value => @profile.employer_profile.company_name_translations[locale] %>
<% end %> <%= fe.fields_for :contact_person_translations do |fe| %>
<%= fe.label locale, t("recruitment.contact_person"), :class => "col-sm-2 control-label" %>
<%= fe.text_field locale, :class => "form-control", :value => @profile.employer_profile.contact_person_translations[locale] %>
<% end %> <%= fe.fields_for :office_address_translations do |fe| %>
<%= fe.label locale, t("recruitment.office_address"), :class => "col-sm-2 control-label" %>
<%= fe.text_field locale, :class => "form-control", :value => @profile.employer_profile.office_address_translations[locale] %>
<% end %> <%= fe.fields_for :company_profile_translations do |fe| %>
<%= fe.label locale, t("recruitment.company_profile"), :class => "col-sm-2 control-label" %>
<%= fe.text_area locale, :class => "form-control", :value => @profile.employer_profile.company_profile_translations[locale] %>
<% end %> <% end %>
<% end %>
<%= f.fields_for :employer_profile do |fe| %>
<%= fe.label :industry, t("recruitment.industry_title"), :class => "col-sm-2 control-label" %>
<%= fe.select :industry, RecruitmentIndustry.all.asc(:industry_title).collect{|ri| [ri.industry_title, ri.id.to_s]}, {:include_blank => "Select Industry"}, {:class => "form-control"} %>
<%= fe.label :country, t("recruitment.country"), :class => "col-sm-2 control-label" %>
<%= fe.select :country, MiscList.countries_for_select, {:include_blank => "Select Country"}, {:class => "form-control"} %>
<%= fe.label :state, t("recruitment.state"), :class => "col-sm-2 control-label" %>
<%= fe.text_field :state, :class => "form-control" %>
<%= fe.label :city, t("recruitment.city"), :class => "col-sm-2 control-label" %>
<%= fe.text_field :city, :class => "form-control" %>
<%= fe.label :zipcode, t("recruitment.zip_code"), :class => "col-sm-2 control-label" %>
<%= fe.text_field :zipcode, :class => "form-control" %>
<%= fe.label :country_code, t("recruitment.country_code"), :class => "col-sm-2 control-label" %>
<%= fe.text_field :country_code, :class => "form-control" %>
<%= fe.label :phone_number, t("recruitment.phone_number"), :class => "col-sm-2 control-label" %>
<%= fe.text_field :phone_number, :class => "form-control" %>
<%= fe.label :mobile_number, t("recruitment.mobile_number"), :class => "col-sm-2 control-label" %>
<%= fe.text_field :mobile_number, :class => "form-control" %>
<%= fe.label :website, t("recruitment.website"), :class => "col-sm-2 control-label" %>
<%= fe.text_field :website, :class => "form-control" %>
<%= fe.label :avatar, t("recruitment.avatar"), :class => "col-sm-2 control-label" %>
<% if !@profile.new_record? && @profile.employer_profile.avatar.file %> <%= image_tag @profile.employer_profile.avatar %> <% else %> <% end %>
<%= t(:select_image) %> <%= t(:change) %> <%= fe.file_field :avatar %> <%= t(:cancel) %>
<% end %>
<%= f.hidden_field :pseudo_member_id, :value => current_pseudo_user.user_name %> <%= f.hidden_field :email, :value => current_pseudo_user.email %> <%= f.hidden_field :first_name, :value => current_pseudo_user.first_name %> <%= f.hidden_field :last_name, :value => current_pseudo_user.last_name %> <%= f.hidden_field :user_type, :value => "2" %> <%= f.submit t("submit"), :class =>"btn btn-primary" %>