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

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, "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, "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, "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, "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, "Industry", :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, "Country", :class => "col-sm-2 control-label" %>
<%= fe.select :country, MiscList.countries_for_select, {:include_blank => "Select Country"}, {:class => "form-control"} %>
<%= fe.label :state, "State", :class => "col-sm-2 control-label" %>
<%= fe.text_field :state, :class => "form-control" %>
<%= fe.label :city, "City", :class => "col-sm-2 control-label" %>
<%= fe.text_field :city, :class => "form-control" %>
<%= fe.label :zipcode, "Zipcode", :class => "col-sm-2 control-label" %>
<%= fe.text_field :zipcode, :class => "form-control" %>
<%= fe.label :country_code, "Country Code", :class => "col-sm-2 control-label" %>
<%= fe.text_field :country_code, :class => "form-control" %>
<%= fe.label :phone_number, "Phone Number", :class => "col-sm-2 control-label" %>
<%= fe.text_field :phone_number, :class => "form-control" %>
<%= fe.label :mobile_number, "Mobile Number", :class => "col-sm-2 control-label" %>
<%= fe.text_field :mobile_number, :class => "form-control" %>
<%= fe.label :website, "Website", :class => "col-sm-2 control-label" %>
<%= fe.text_field :website, :class => "form-control" %>
<%= fe.label :avatar, "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 "Submit", :class =>"btn btn-primary" %>