2012-07-24 23:26:16 +02:00
|
|
|
<div class="navbar navbar-fixed-top">
|
|
|
|
<div class="navbar-inner">
|
|
|
|
<div class="container">
|
|
|
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</a>
|
2012-07-29 00:33:03 +02:00
|
|
|
<a class="brand" href="/">Photomix</a>
|
2012-07-24 23:26:16 +02:00
|
|
|
<div class="nav-collapse">
|
|
|
|
<ul class="nav">
|
2012-07-29 00:33:03 +02:00
|
|
|
<li <%= "class='active'" if params['controller'].eql?("collections") %>><%= link_to pluralize(t('activerecord.models.collection.one'), 3, ["Коллекция", "Коллекции", "Коллекций"]), collections_path %></li>
|
|
|
|
<li <%= "class='active'" if params['controller'].eql?("albums") %>><%= link_to pluralize(t('activerecord.models.album'), 3, ["Альбом", "Альбомы", "Альбомов"]), albums_path %></li>
|
|
|
|
<li <%= "class='active'" if params['controller'].eql?("photos") %>><%= link_to pluralize(t('activerecord.models.photo'), 3, ["Фотография", "Фотографии", "Фотографий"]), photos_path %></li>
|
2012-07-24 23:26:16 +02:00
|
|
|
</ul>
|
2012-07-29 00:33:03 +02:00
|
|
|
<form action="" class="navbar-search pull-right">
|
2012-07-24 23:26:16 +02:00
|
|
|
<input type="text" placeholder="Search" class="search-query span2">
|
|
|
|
</form>
|
|
|
|
<%= render :partial => 'shared/user_links' %>
|
|
|
|
</div>
|
|
|
|
<!--/.nav-collapse -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|