diff --git a/app/views/items/show.html.erb b/app/views/items/show.html.erb
index bf525af..c833737 100644
--- a/app/views/items/show.html.erb
+++ b/app/views/items/show.html.erb
@@ -1,55 +1,47 @@
Item history
Current values
-
-
-
+
+ - Date found
+ - <%= @item.date_found.strftime('%m/%d/%Y') %>
-
+ - Time found
+ - <%= @item.datetime_found&.strftime('%l:%M %P') || 'None' %>
-
+ - Found by
+ - <%= @item.found_by || 'No one' %>
-
+ - Item location
+ - <%= @item.location %>
-
-
-
+
+
Change history
diff --git a/spec/views/items/show.html.erb_spec.rb b/spec/views/items/show.html.erb_spec.rb
index 8017db3..0526608 100644
--- a/spec/views/items/show.html.erb_spec.rb
+++ b/spec/views/items/show.html.erb_spec.rb
@@ -70,7 +70,7 @@
it 'renders that the item has not been updated' do
render
- expect(rendered).to have_content "Last updated\n None"
+ expect(rendered).to have_content(/Last updated\s+None/i)
end
end
end