set custom css/html fields to textarea in setting form

This commit is contained in:
Inhji 2023-03-07 23:33:45 +01:00
parent 0710a652ef
commit 05b0d1076c

View file

@ -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</.button>
</:actions>