From 97bfc3f6012027077077ea4a6b5f2f709c76158e Mon Sep 17 00:00:00 2001 From: hellekin Date: Fri, 22 Jan 2021 10:35:07 +0100 Subject: Add markers and popups - Replace MakiMarkers with ExtraMarkers and ForkAwesome - Add HTML popup binding --- app/views/resources/_popup.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/views/resources/_popup.html.erb (limited to 'app/views') 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 @@ +
+

<%= resource.name %>

+

<%= h resource.summary %>

+ <% unless resource.description.blank? %> +
+

Description

+ <%= m resource.description %> +
+ <% end %> +
-- cgit v1.2.3