summaryrefslogtreecommitdiff
path: root/app/views/beds/edit.html.erb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2025-08-29 14:22:37 +0200
committerMarius Peter <marius.peter@tutanota.com>2025-08-29 14:22:37 +0200
commit075665c588989ed0decdfb20d83f32b33eed4639 (patch)
treed9ec78be7338bd51c895b7fb311f081a7c77c45f /app/views/beds/edit.html.erb
parent52b044d6a4278c229992404ad5801769c2d13363 (diff)
Properly implement bed and raft management logic.
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