Added Room and some little design updates
This commit is contained in:
12
app/views/rooms/new.html.erb
Normal file
12
app/views/rooms/new.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<% content_for :title, "Neuen Raum hinzufügen" %>
|
||||
|
||||
<% content_for :top_bar_actions do %>
|
||||
<%= link_to rooms_path, 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 %>
|
||||
<svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M10.5 19.5L3 12m0 0l7.5-7.5M3 12h18" /></svg>
|
||||
Zurück zur Übersicht
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<div class="p-4 md:p-6">
|
||||
<%= render "form", room: @room %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user