7 lines
322 B
Plaintext
7 lines
322 B
Plaintext
|
<%= 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 %>
|