aboutsummaryrefslogtreecommitdiff
path: root/app/views/taxonomies/_taxonomy.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/taxonomies/_taxonomy.html.erb')
-rw-r--r--app/views/taxonomies/_taxonomy.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/taxonomies/_taxonomy.html.erb b/app/views/taxonomies/_taxonomy.html.erb
new file mode 100644
index 0000000..eff6931
--- /dev/null
+++ b/app/views/taxonomies/_taxonomy.html.erb
@@ -0,0 +1,8 @@
+<section 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>
+ <button data-action="taxonomy#deploy">Preview</button>
+ <div class="deploy" data-target="taxonomy.deploy"></div>
+</section>
+