Sha256: 5dd5007fcc867847a525f0dc085e9edc5e2c6c4d5abd9bc58df0708e689824bb

Contents?: true

Size: 789 Bytes

Versions: 3

Compression:

Stored size: 789 Bytes

Contents

<h3><%= @user.name %> - 
  <%= @user.bookmarks.count %> Biere,
  <%= @user.drinks.count %> Ratings
</h3>


<p style='background-color: silver;'>
  Top (+1)
</p>

<%= render_bookmarks( @user.bookmarks.where( yes:true, wish:false) ) %>

<p style='background-color: silver;'>
  More
</p>

<%= render_bookmarks( @user.bookmarks.where( yes:false, no:false, wish:false ) ) %>

<p style='background-color: silver;'>
  Blacklist (-1)
</p>

<%= render_bookmarks( @user.bookmarks.where( yes:false, no:true, wish:false ) ) %>

<hr>
<p>Wishlist</p>

<p style='background-color: silver;'>
  Top (+1)
</p>

<%= render_bookmarks( @user.bookmarks.where( yes:true, wish:true) ) %>

<p style='background-color: silver;'>
  More
</p>

<%= render_bookmarks( @user.bookmarks.where( yes:false, wish:true) ) %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beerdb-admin-0.1.1 app/views/beer_db_admin/users/show.html.erb
beerdb-admin-0.1.0 app/views/beer_db_admin/users/show.html.erb
beerdb-admin-0.0.1 app/views/beer_db_admin/users/show.html.erb