diff options
Diffstat (limited to 'app/views/activities/_results.html.erb')
-rw-r--r-- | app/views/activities/_results.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb new file mode 100644 index 0000000..baa4ab0 --- /dev/null +++ b/app/views/activities/_results.html.erb @@ -0,0 +1,7 @@ +<div> + <% results.each do |result| %> + <% if result[:type] == "item" %> + <p>You got <%= result[:quantity] %> <%= result[:item].name %>.</p> + <% end %> + <% end %> +</div> |