Small update in item/_form and added more data in seed
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-05-24 03:08:55 +02:00
parent a19cc6984f
commit b73f614f1c
2 changed files with 28 additions and 9 deletions

View File

@@ -119,7 +119,7 @@
placeholder="Tippe den Namen ein...">
<datalist id="users_datalist">
<% User.all.each do |user| %>
<% User.all.order(:first_name, :last_name).each do |user| %>
<!-- Hier nutzen wir den reinen Vor- und Nachnamen als Value -->
<option value="<%= user.name %>"></option>
<% end %>
@@ -142,7 +142,7 @@
placeholder="Tippe die Raumnummer ein...">
<datalist id="rooms_datalist">
<% Room.all.each do |room| %>
<% Room.all.order(:name).each do |room| %>
<option value="<%= room.name %>"></option>
<% end %>
</datalist>