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

10 lines
413 B
Plaintext
Raw Normal View History

2017-12-21 19:41:50 +00:00
<div id="dashboard-wrapper">
<%= render :partial => "dashboard_header" %>
<%= form_for @profile, url: {:action => "updateprofile"}, html: {:class => "form-horizontal main-forms"} do |f| %>
<% if @profile.is_employee? %>
<%= render :partial => "employee_form", locals: {f: f} %>
<% elsif @profile.is_employer? %>
<%= render :partial => "employer_form", locals: {f: f} %>
<% end %>
<% end %>
</div>