<%= form_with model: @schedule, method: :post, data: { turbo: false }, class: 'flex flex-col h-full divide-y divide-border-table-border' do |form| %>
시간 사용여부 온도
<%= form.select :hour, options_for_select((0..23).map { |h| [h.to_s.rjust(2, '0'), h] }, @schedule.hour), {}, class: "input-style" %> <%= form.number_field :minute, min: 0, max: 59, step: 1, inputmode: "decimal", class: "input-style" %> <%= check_box_tag "schedule[is_active]", "1", true %> <%= form.number_field :temperature, step: "0.1", inputmode: "decimal", class: "input-style" %>
<%= submit_tag "추가", class: "btn bg-primary" %>
<% end %>