From 05b0d1076caa936069c6c5570bec691ece745bef Mon Sep 17 00:00:00 2001 From: Inhji Date: Tue, 7 Mar 2023 23:33:45 +0100 Subject: [PATCH] set custom css/html fields to textarea in setting form --- lib/chiya_web/controllers/setting_html/setting_form.html.heex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chiya_web/controllers/setting_html/setting_form.html.heex b/lib/chiya_web/controllers/setting_html/setting_form.html.heex index 248764d..090dadc 100644 --- a/lib/chiya_web/controllers/setting_html/setting_form.html.heex +++ b/lib/chiya_web/controllers/setting_html/setting_form.html.heex @@ -12,8 +12,8 @@ options={Ecto.Enum.values(Chiya.Site.Setting, :theme)} /> <.input field={f[:user_agent]} type="text" label="User agent" /> - <.input field={f[:custom_css]} type="text" label="Custom css" /> - <.input field={f[:custom_html]} type="text" label="Custom html" /> + <.input field={f[:custom_css]} type="textarea" label="Custom css" /> + <.input field={f[:custom_html]} type="textarea" label="Custom html" /> <:actions> <.button>Save Setting