<% if params[:type] == "posting" %>

<%= t("recruitment.posting_for_the_month") %> <%= @startdt.strftime("%B %Y") %>

<%= column_chart @data, ytitle: t("recruitment.number_of_posts"), label: t("recruitment.number_of_posts"), id: "posting_chart" %> <% elsif params[:type] == "registration" %>

<%= t("recruitment.registration_for_month") %> <%= @startdt.strftime("%B %Y") %>

<%= column_chart @data, ytitle: t("recruitment.number_of_registered_users"), label: t("recruitment.number_of_registered_users"), id: "registration_chart", colors: ["#f2096e"] %> <% elsif params[:type] == "filled" %>

<%= t("recruitment.positions_for_month") %> <%= @startdt.strftime("%B %Y") %>

<%= column_chart @data, ytitle: t("recruitment.number_of_positions_filled"), label: t("recruitment.number_of_positions_filled"), id: "filled_chart", colors: ["#aff109"] %> <% end %>