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

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


<% @exeperiences.each do |exp| %>

<%= exp.company_name %>

<%= exp.job_title %>

<%= exp.start_date.strftime("%d %B %Y") rescue "" %>

<%= exp.end_date.strftime("%d %B %Y") rescue "Currently Working" %>

<%= simple_format(exp.responsibilities) %>

<% end %> <%= form_for @experience, :url => create_experience_path, :html => {:class => "form-horizontal", :id => "new-exp-form"} do |f| %> <%= render :partial => "employee_experience_form", locals: {f: f} %>
<%= f.hidden_field :employee_profile_id, :value => @profile.profile.id.to_s %> <%= f.submit t("recruitment.add"), :class =>"btn btn-primary" %> <%= f.submit t("recruitment.finish"), :class =>"btn btn-primary" %>
<% end %>