Add remarks to articles

This commit is contained in:
Thelonius Kort
2023-05-04 18:12:57 +02:00
parent 888e7575f0
commit d53eceb7a0
4 changed files with 16 additions and 1 deletions

View File

@ -26,6 +26,7 @@ defmodule OutlookWeb.ArticleLive.FormComponent do
<.input field={{f, :language}} type="select" label="language"
options={Application.get_env(:outlook,:deepl)[:source_langs]} />
<.input field={{f, :date}} type="datetime-local" label="date" />
<.input field={{f, :remarks}} type="textarea" label="remarks" class="h-28" />
<:actions>
<.button phx-disable-with="Saving...">Save Article</.button>
</:actions>