diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-22 10:35:07 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-22 10:35:07 +0100 |
commit | 97bfc3f6012027077077ea4a6b5f2f709c76158e (patch) | |
tree | 51df0783d3c8ce8b2e928c73d28a77fffb417dbb /app/views | |
parent | bf087e092cc60defb307f4625333c97327283cc3 (diff) | |
download | incommon-map-97bfc3f6012027077077ea4a6b5f2f709c76158e.tar.gz |
Add markers and popups
- Replace MakiMarkers with ExtraMarkers and ForkAwesome
- Add HTML popup binding
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/resources/_popup.html.erb | 10 |
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> |