From 4b9c59b6e0e6b065c9c51ea5695e77d8b0d49047 Mon Sep 17 00:00:00 2001 From: RubyOn Date: Wed, 16 Apr 2025 23:40:42 +0900 Subject: [PATCH] =?UTF-8?q?text=5Ffield=20=EB=A5=BC=20number=5Ffield=20?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/application.html.erb | 2 +- app/views/modbus/schedule_edit.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %>