Compare commits

..

No commits in common. "55715a20eb6256523be8d6a07591cd7680fca5d3" and "faaf8677e3b79e679074e993ecca48d7393e044f" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ class SchedulesController < ApplicationController
def schedule_edit_update
error_messages = []
params[:schedule]&.each do |id, attributes|
params[:schedule].each do |id, attributes|
schedule = Schedule.find_by(id: id)
next unless schedule

View File

@ -23,20 +23,20 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
</head>
<body class="min-h-screen bg-base-background text-base-text min-w-[400px] overflow-x-auto h-full">
<body class="h-screen overflow-hidden bg-base-background text-base-text min-w-[400px] overflow-x-auto">
<%= turbo_frame_tag :modals %>
<main class="flex flex-col h-full">
<%= render "partials/header" %>
<div class="flex flex-row flex-1 w-full">
<div class="flex flex-row flex-1 w-full overflow-hidden">
<%= render "partials/sidebar" %>
<div class="flex-1 h-full pb-4 pr-4">
<div class="flex-1 h-full content">
<% if flash[:notice] %>
<div class="rounded px-4 py-2 bg-accept text-white">
<div class="m-4 rounded px-4 py-2 bg-accept text-white">
<%= raw flash[:notice] %>
</div>
<% elsif flash[:alert] %>
<div class="rounded px-4 py-2 bg-danger text-white">
<div class="m-4 rounded px-4 py-2 bg-danger text-white">
<%= raw flash[:alert] %>
</div>
<% end %>