diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 5df5045..acabb33 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -2,7 +2,7 @@ <%= content_for(:title) || "Farmitry Hvac" %> - + <%= csrf_meta_tags %> diff --git a/app/views/modbus/schedule_edit.html.erb b/app/views/modbus/schedule_edit.html.erb index 11ac21b..c986172 100644 --- a/app/views/modbus/schedule_edit.html.erb +++ b/app/views/modbus/schedule_edit.html.erb @@ -3,7 +3,7 @@
<%= s.hour %>시
- <%= text_field_tag "schedule[#{s.id}][temperature]", s.temperature, class: "border px-2 py-1 rounded" %> °C + <%= number_field_tag "schedule[#{s.id}][temperature]", s.temperature, step: "0.1", inputmode: "decimal", class: "border px-2 py-1 rounded" %> °C
<% end %>