diff options
Diffstat (limited to 'app/views/beds/edit.html.erb')
-rw-r--r-- | app/views/beds/edit.html.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/beds/edit.html.erb b/app/views/beds/edit.html.erb new file mode 100644 index 0000000..6887586 --- /dev/null +++ b/app/views/beds/edit.html.erb @@ -0,0 +1,11 @@ +<% content_for :title, "Editing bed #{@bed.location}" %> + +<h1 class="display-1">Editing bed <%= @bed.location %></h1> + +<%= render "form", bed: @bed %> + +<br> + +<div> + <%= link_to "Back to beds", beds_path, class: "btn btn-secondary" %> +</div> |