From bf26abcf5233e88597b270f6e54010adf08a3fc7 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 29 Oct 2020 23:18:11 +0100 Subject: Add agent selector widget and taxonomy navigator (WIP) --- app/views/application/_taxonomy_nav.html.erb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/views/application/_taxonomy_nav.html.erb (limited to 'app/views/application/_taxonomy_nav.html.erb') 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 %> -- cgit v1.2.3