From 5d552a5d0086e8fb425dbadeac9f20f496c48ea5 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sun, 30 Dec 2012 23:05:33 -0500 Subject: [PATCH] added showcard partial view to items so we can load them with AJAX...\! --- app/views/items/_showcard.html.erb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/views/items/_showcard.html.erb diff --git a/app/views/items/_showcard.html.erb b/app/views/items/_showcard.html.erb new file mode 100644 index 00000000..69eec1de --- /dev/null +++ b/app/views/items/_showcard.html.erb @@ -0,0 +1,27 @@ +
+
+

+ <%= node.getData("itemcatname") %> +

+ <%= node.getData(" class="icon" height="50" src="<%= imgArray[node.getData("itemcatname")].src %>" width="50" /> +
+ + <%= node.name %> + + +
+

+ <%= node.getData('desc') %> +

+
+
+ + <%= node.getData('link') %> + +
+