]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_trace_optionals.html.erb
Rename trace_controller to traces_controller
[rails.git] / app / views / traces / _trace_optionals.html.erb
diff --git a/app/views/traces/_trace_optionals.html.erb b/app/views/traces/_trace_optionals.html.erb
new file mode 100644 (file)
index 0000000..6f0c213
--- /dev/null
@@ -0,0 +1,10 @@
+<% content_for :optionals do %>
+  <div class="optionalbox">
+    <h4><%= t '.tags' %></h4>
+    <% if @all_tags %>
+      <% @all_tags.each do |tag| %>
+        <%= link_to_tag tag %><br />
+      <% end %>
+    <% end %>
+  </div>
+<% end %>