diff options
Diffstat (limited to 'app/views/fertilizer_products/show.html.erb')
-rw-r--r-- | app/views/fertilizer_products/show.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/fertilizer_products/show.html.erb b/app/views/fertilizer_products/show.html.erb new file mode 100644 index 0000000..ea97041 --- /dev/null +++ b/app/views/fertilizer_products/show.html.erb @@ -0,0 +1,10 @@ +<p style="color: green"><%= notice %></p> + +<%= render @fertilizer_product %> + +<div> + <%= link_to "Edit this fertilizer product", edit_fertilizer_product_path(@fertilizer_product) %> | + <%= link_to "Back to fertilizer products", fertilizer_products_path %> + + <%= button_to "Destroy this fertilizer product", @fertilizer_product, method: :delete %> +</div> |