<%= form_tag({:action=>'create'} ,:multipart=>true,:id=>'myForm' ) do %>
<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>

Select date

<% if @compdetail %>
<% end %>
<% if @MstShift.length >0 @MstShift.each do |shft| %>
<% end end %>

Select Department

<% if @Department.length >0 @Department.each do |dpt| %>
<% end end %>

Select Employee

<% if @Employee.length >0 @Employee.each do |dpt| %>
<% end end %>
<% end %>