summaryrefslogtreecommitdiff
path: root/app/views/fertilizer_products/index.html.erb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-08-24 20:29:54 +0200
committerMarius Peter <marius.peter@tutanota.com>2025-08-24 20:29:54 +0200
commit52b044d6a4278c229992404ad5801769c2d13363 (patch)
treeb30b34da58f26117c035391d09366b190350b1e3 /app/views/fertilizer_products/index.html.erb
First commit.
Vive le Castel Peter !
Diffstat (limited to 'app/views/fertilizer_products/index.html.erb')
-rw-r--r--app/views/fertilizer_products/index.html.erb16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/fertilizer_products/index.html.erb b/app/views/fertilizer_products/index.html.erb
new file mode 100644
index 0000000..f624ffc
--- /dev/null
+++ b/app/views/fertilizer_products/index.html.erb
@@ -0,0 +1,16 @@
+<p style="color: green"><%= notice %></p>
+
+<% content_for :title, "Fertilizer products" %>
+
+<h1>Fertilizer products</h1>
+
+<div id="fertilizer_products">
+ <% @fertilizer_products.each do |fertilizer_product| %>
+ <%= render fertilizer_product %>
+ <p>
+ <%= link_to "Show this fertilizer product", fertilizer_product %>
+ </p>
+ <% end %>
+</div>
+
+<%= link_to "New fertilizer product", new_fertilizer_product_path %>
Copyright 2019--2025 Marius PETER