aboutsummaryrefslogtreecommitdiff
path: root/app/views/resources/_popup.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/resources/_popup.html.erb')
-rw-r--r--app/views/resources/_popup.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/resources/_popup.html.erb b/app/views/resources/_popup.html.erb
new file mode 100644
index 0000000..0841264
--- /dev/null
+++ b/app/views/resources/_popup.html.erb
@@ -0,0 +1,10 @@
+<article class="resource" id="res-<%= resource.uuid %>">
+ <h1><%= resource.name %></h1>
+ <p class="summary"><%= h resource.summary %></p>
+ <% unless resource.description.blank? %>
+ <section class="description">
+ <h2>Description</h2>
+ <%= m resource.description %>
+ </section>
+ <% end %>
+</article>