From 627e3c157cf5a3381f349434f22c05279143d29c Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Fri, 6 Feb 2015 03:32:29 +0000 Subject: [PATCH] Added extra to show on weight view --- app/views/weights/show.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/weights/show.html.erb b/app/views/weights/show.html.erb index 16504de..8ba75d3 100644 --- a/app/views/weights/show.html.erb +++ b/app/views/weights/show.html.erb @@ -18,6 +18,7 @@ Seed Record Seed Criteria + Extra> Actions for wrestler @@ -30,6 +31,9 @@ <%= wrestler.original_seed %> <%= wrestler.season_win %>-<%= wrestler.season_loss %> <%= wrestler.criteria %> + <% if wrestler.extra? == true %> + Yes + <% end %> <%= link_to 'Show', wrestler , :class=>"btn" %> <% if user_signed_in? %> <%= link_to 'Edit', edit_wrestler_path(wrestler) , :class=>"btn" %>