show.html.erb 379 Bytes
Newer Older
Sara Kuqi's avatar
fc  
Sara Kuqi committed
1
<% provide(:title, @user.name) %>
2
3
<h3><%= @user.name %></h3>
<p>Samples (<%= @user.samples.count %>)</p>
4
<% if !operator?%>
5
  <%=render  'shared/sample_form'%></br>
6
  <% end %>
Sara Kuqi's avatar
fc  
Sara Kuqi committed
7
8
<div class="row">
    <% if @user.samples.any? %>
9
        <div class="panel panel-default">
Sara Kuqi's avatar
fc  
Sara Kuqi committed
10
        <%= render 'samples/samples' %>
11
      </div>
Sara Kuqi's avatar
fc  
Sara Kuqi committed
12
13
14
      <%= will_paginate @samples %>
    <% end %>
</div>