recruitment/app/views/recruitments/newprofile.html.erb

7 lines
322 B
Plaintext
Raw Normal View History

2017-12-21 19:41:50 +00:00
<%= form_for @profile, url: {:action => "createprofile"}, html: {:class => "form-horizontal main-forms"} do |f| %>
<% if params[:type] == "1" %>
<%= render :partial => "employee_form", locals: {f: f} %>
<% elsif params[:type] == "2" %>
<%= render :partial => "employer_form", locals: {f: f} %>
<% end %>
<% end %>