diff options
author | hellekin <hellekin@cepheide.org> | 2021-02-11 20:40:00 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-02-11 20:40:00 +0100 |
commit | e5619547d5544a043dfec173f17020b09f882a98 (patch) | |
tree | d6b127a0ea3b71d139531cfc25e2e68f558325f0 /app/views/taxonomies | |
parent | 7f65f49b5036e4318b91dfc1ecd3ca21bc8ba74a (diff) | |
download | incommon-map-e5619547d5544a043dfec173f17020b09f882a98.tar.gz |
[FIX] Availability of agents
Diffstat (limited to 'app/views/taxonomies')
-rw-r--r-- | app/views/taxonomies/_taxonomy.html.erb | 2 | ||||
-rw-r--r-- | app/views/taxonomies/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/taxonomies/show.html.erb | 13 |
3 files changed, 15 insertions, 2 deletions
diff --git a/app/views/taxonomies/_taxonomy.html.erb b/app/views/taxonomies/_taxonomy.html.erb index eb2dd79..79df167 100644 --- a/app/views/taxonomies/_taxonomy.html.erb +++ b/app/views/taxonomies/_taxonomy.html.erb @@ -1,4 +1,4 @@ -<section id="taxonomy-<%= taxonomy.to_param %>" data-controller="taxonomy" data-taxonomy-uuid="<%= taxonomy.uuid %>"> +<section class="on" id="taxonomy-<%= taxonomy.to_param %>" data-controller="taxonomy" data-taxonomy-uuid="<%= taxonomy.uuid %>"> <h3><%= taxonomy.name %></h3> <p class="summary"><%= h taxonomy.summary %></p> <div class="description"><%= m taxonomy.description %></div> diff --git a/app/views/taxonomies/index.html.erb b/app/views/taxonomies/index.html.erb index 705b0d4..fcbcb8b 100644 --- a/app/views/taxonomies/index.html.erb +++ b/app/views/taxonomies/index.html.erb @@ -1,5 +1,5 @@ <section id="taxonomies"> <h2>Available Taxonomies</h2> - <%= render collection: @taxonomies %> + <%= render partial: :taxonomy, collection: @taxonomies %> </section> diff --git a/app/views/taxonomies/show.html.erb b/app/views/taxonomies/show.html.erb index 99e9c89..3971acf 100644 --- a/app/views/taxonomies/show.html.erb +++ b/app/views/taxonomies/show.html.erb @@ -1 +1,14 @@ +<%#= map_container %> + <%= taxonomy_filter %> + +<% content_for :aside do %> + <div class="on" data-controller="taxonomy" data-taxonomy-uuid="<%= @taxonomy.to_param %>"> + <div class="leaflet-bar leaftlet-control" id="taxonomy-toggle"> + <button data-action="taxonomy#toggle" data-target="taxonomy.toggle"></button> + </div> + <div data-target="taxonomy.filter"></div> + </div> +<% end %> + + |