<div class="container nav-collapse">
  <ul class="nav">
    <li><%= link_to "Blog", blog_path  %></li>
    <li><%= link_to (t 'contact.contact'), contact_messages_path  %></li>
  </ul>
  
<ul class="nav pull-right">
	<% if user_signed_in? %>
		<li class="dropdown">
			<a href="#" class="dropdown-toggle" data-toggle="dropdown">
				<%= current_user.full_name %> <b class="caret"></b>
			</a>
		    	<ul class="dropdown-menu">
				<% if current_user.admin %>
					<li><%= link_to (t "nav.admin_panel"), admin_dashboard_path %></li>
				<% end %>
	  			<li><%= link_to (t "nav.account"), edit_user_registration_path %></li>
	  			<li><%= link_to (t "nav.logout"), destroy_user_session_path, method: :delete %></li>
			</ul>
		</li>
	<% else %>
		<li><%= link_to (t "nav.login"), new_user_session_path  %></li>
		<li><%= link_to (t "nav.signup"), new_user_registration_path  %></li>
	<% end %>
</ul>
  
</div><!--/.nav-collapse -->