<%# 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.academics") %>


<% @academics.each do |academic| %>

<%= t("recruitment.academic_type.#{academic.academic_type}") %>

<%= academic.degree_name %>

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

<%= academic.end_date.strftime("%d %B %Y") rescue "" %>

<%= simple_format(academic.note) %>

<% end %> <%= form_for @academic, :url => create_academic_path, :html => {:class => "form-horizontal", :id => "new-academics-form"} do |f| %> <%= render :partial => "employee_academic_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.next"), :class =>"btn btn-primary" %>
<% end %>