diff options
Diffstat (limited to 'app/views/crops/edit.html.erb')
-rw-r--r-- | app/views/crops/edit.html.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/crops/edit.html.erb b/app/views/crops/edit.html.erb new file mode 100644 index 0000000..54c616c --- /dev/null +++ b/app/views/crops/edit.html.erb @@ -0,0 +1,12 @@ +<% content_for :title, "Editing crop" %> + +<h1>Editing crop</h1> + +<%= render "form", crop: @crop %> + +<br> + +<div> + <%= link_to "Show this crop", @crop %> | + <%= link_to "Back to crops", crops_path %> +</div> |