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

10 lines
547 B
Plaintext

<h3>Welcome <strong><%= @profile.name %></strong>!</h3>
<ul class="nav nav-tabs">
<li role="presentation" class="<%= params[:action] == "recruitment_dashboard" ? "active" : "" %>"><a href="<%= mydashboard_path %>">Jobs</a></li>
<li role="presentation" class="<%= params[:action] == "editprofile" ? "active" : "" %>"><a href="<%= editprofile_path %>">Profile</a></li>
</ul>
<% if params[:action] == "recruitment_dashboard" %>
<div class="add-job">
<a href="<%= addjob_path %>" class="pull-right btn btn-primary">Add Job</a>
</div>
<% end %>