-
<%= t("recruitment.add_job") %>
+
<% end %>
\ No newline at end of file
diff --git a/app/views/recruitments/_employee_dashboard.html.erb b/app/views/recruitments/_employee_dashboard.html.erb
index bf6c373..6899955 100644
--- a/app/views/recruitments/_employee_dashboard.html.erb
+++ b/app/views/recruitments/_employee_dashboard.html.erb
@@ -1,7 +1,8 @@
- <%= t("recruitment.job_title") %> |
+ <%= t("recruitment.post_type") %> |
+ <%= t("recruitment.title") %> |
<%= t("recruitment.company_name") %> |
<%= t("recruitment.applied_date") %> |
@@ -13,6 +14,7 @@
<% @applications.each do |app| %>
<% job = app.get_job %>
+ <%= job.get_post_type_label.html_safe %> |
" target="_blank"><%= job.job_title %> |
<%= job.employer_profile.company_name %> |
<%= app.created_at.strftime("%d %B %Y") %> |
diff --git a/app/views/recruitments/_employee_form.html.erb b/app/views/recruitments/_employee_form.html.erb
index ef7048e..7a3cb05 100644
--- a/app/views/recruitments/_employee_form.html.erb
+++ b/app/views/recruitments/_employee_form.html.erb
@@ -10,12 +10,7 @@
<%= javascript_include_tag "lib/file-type" %>
<%# end %>
-
-
-
-
-
+ <% elsif data["type"] == "internships" %>
+ <%= render_view("internships") %>
<% elsif data["type"] == "candidates" %>
<%= render_view("candidate_show") %>
<% end %>
+ <% case data["type"]
+ when "jobs", "internships" %>
+
+
+
+
+
+ <% end %>
<% else %>
Please login to view this page.
">Login