Sha256: 4883a4bbe455dd5af03da64772fdc87c470f99b8f1df924c4b7e25513a0e5716

Contents?: true

Size: 998 Bytes

Versions: 1

Compression:

Stored size: 998 Bytes

Contents

<section class="sidebar">
  <!-- search form -->
  <form action="<%= search_users_path %>" method="get" class="sidebar-form">
    <div class="input-group">
      <input type="text" name="q" class="form-control" placeholder="Search Users..."/>
      <span class="input-group-btn">
        <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
      </span>
    </div>
  </form>
  <!-- /.search form -->
  <!-- sidebar menu -->
  <ul class="sidebar-menu">
    <li class="<%= 'active' if @menu_item == :active_users %>">
      <%= link_to root_path do %>
        <i class="fa fa-clock-o"></i> <span>Active Users</span>
      <% end %>
    </li>
    <li class="<%= 'active' if @menu_item == :user_list %>">
      <%= link_to users_path do %>
        <i class="fa fa-users"></i> <span>User List</span>
        <small class="badge pull-right bg-green"><%= total_user_number %></small>
      <% end %>
    </li>
  </ul>
</section><!-- /.sidebar -->

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_users-0.0.1 app/views/devise_users/shared/_side_bar.html.erb