aboutsummaryrefslogtreecommitdiff
path: root/app/views/application/_taxonomy_nav.html.erb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-29 23:18:11 +0100
committerhellekin <hellekin@cepheide.org>2020-10-29 23:18:53 +0100
commitbf26abcf5233e88597b270f6e54010adf08a3fc7 (patch)
tree38d4049925f3285f5220771c6e041e4766003d34 /app/views/application/_taxonomy_nav.html.erb
parentca0ef5c8cc684b3316e05cd3dcd094e0500ef470 (diff)
downloadincommon-map-bf26abcf5233e88597b270f6e54010adf08a3fc7.tar.gz
Add agent selector widget and taxonomy navigator (WIP)
Diffstat (limited to 'app/views/application/_taxonomy_nav.html.erb')
-rw-r--r--app/views/application/_taxonomy_nav.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/application/_taxonomy_nav.html.erb b/app/views/application/_taxonomy_nav.html.erb
new file mode 100644
index 0000000..2203665
--- /dev/null
+++ b/app/views/application/_taxonomy_nav.html.erb
@@ -0,0 +1,6 @@
+<% out = []
+clazo.each do |c| %>
+ <%= tag.span(taxo.name) %> »
+ <%= link_to(c.section.category.name, c.section.category) %> »
+ <%= link_to(c.section.name, c.section) %> »
+<% end %>