Add remarks field to translations
This commit is contained in:
@ -32,6 +32,7 @@ defmodule OutlookWeb.TranslationLive.FormComponent do
|
||||
<.input field={{f, :public}} type="checkbox" label="public" />
|
||||
<.input field={{f, :unauthorized}} type="checkbox" label="unauthorized" />
|
||||
</div>
|
||||
<.input field={{f, :remarks}} type="textarea" label="remarks" class="h-28" />
|
||||
<input type="hidden" id="continue_edit" name="continue_edit" value="false" />
|
||||
<input type="hidden" id="publish" name="publish" value="false" />
|
||||
<:actions>
|
||||
|
||||
@ -11,11 +11,12 @@
|
||||
<.list>
|
||||
<:item title="Language"><%= @translation.language %></:item>
|
||||
<:item title="Title"><%= @translation.title %></:item>
|
||||
<:item title="Teaser"><%= @translation.teaser %></:item>
|
||||
<:item title="Teaser"><%= @translation.teaser |> tidy_raw %></:item>
|
||||
<%!-- <:item title="Content"><%= @translation.content %></:item> --%>
|
||||
<:item title="Date"><%= @translation.date %></:item>
|
||||
<:item title="Public"><%= @translation.public %></:item>
|
||||
<:item title="Unauthorized"><%= @translation.unauthorized %></:item>
|
||||
<:item title="Remarks"><%= @translation.remarks |> tidy_raw %></:item>
|
||||
</.list>
|
||||
|
||||
<div class="article show_status">
|
||||
|
||||
Reference in New Issue
Block a user