summaryrefslogtreecommitdiff
path: root/app/views/beds/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/beds/edit.html.erb')
-rw-r--r--app/views/beds/edit.html.erb11
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>
Copyright 2019--2025 Marius PETER