Skip to content

Commit c76e72b

Browse files
committed
Add nav link to post a new job
1 parent e5fe779 commit c76e72b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/views/layouts/application.html.erb

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<% else %>
3030
<%= nav_link 'Login', user_code4lib_omniauth_authorize_path %>
3131
<% end %>
32+
<li class="nav-item form-inline">
33+
<%= link_to 'Post new job', new_job_path, class: 'btn btn-outline-secondary' if can? :create, Job %>
34+
</li>
3235
</ul>
3336
</div>
3437
</nav>

0 commit comments

Comments
 (0)