From c12eab7f982bc7caad66146d659a4d08c79f2348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Sat, 30 May 2026 03:21:16 +0200 Subject: [PATCH] And again really small layout adjustments --- app/views/categories/edit.html.erb | 2 +- app/views/items/edit.html.erb | 2 +- app/views/rooms/edit.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/categories/edit.html.erb b/app/views/categories/edit.html.erb index 949ec06..c364556 100644 --- a/app/views/categories/edit.html.erb +++ b/app/views/categories/edit.html.erb @@ -1,4 +1,4 @@ -<% content_for :title, "Kategorie bearbeiten" %> +<% content_for :title, @category.name %> <% content_for :top_bar_actions do %> <%= link_to "javascript:history.back()", class: "py-2 px-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 flex items-center gap-1.5 shadow-sm transition" do %> diff --git a/app/views/items/edit.html.erb b/app/views/items/edit.html.erb index e8a828f..f47cb4c 100644 --- a/app/views/items/edit.html.erb +++ b/app/views/items/edit.html.erb @@ -1,4 +1,4 @@ -<% content_for :title, "Artikel bearbeiten" %> +<% content_for :title, @item.name %> <% content_for :top_bar_actions do %> diff --git a/app/views/rooms/edit.html.erb b/app/views/rooms/edit.html.erb index c406838..2da9f07 100644 --- a/app/views/rooms/edit.html.erb +++ b/app/views/rooms/edit.html.erb @@ -1,4 +1,4 @@ -<% content_for :title, "Raum bearbeiten: #{@room.name}" %> +<% content_for :title, "#{@room.name}" %> <% content_for :top_bar_actions do %> <%= link_to "javascript:history.back()", class: "py-2 px-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 flex items-center gap-1.5 shadow-sm transition" do %>