Add creating and basic editing of translation
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
<:col :let={translation} label="Lang"><%= translation.lang %></:col>
|
||||
<:col :let={translation} label="Title"><%= translation.title %></:col>
|
||||
<:col :let={translation} label="Teaser"><%= translation.teaser %></:col>
|
||||
<:col :let={translation} label="Content"><%= translation.content %></:col>
|
||||
<%!-- <:col :let={translation} label="Content"><%= translation.content %></:col> --%>
|
||||
<:col :let={translation} label="Date"><%= translation.date %></:col>
|
||||
<:col :let={translation} label="Public"><%= translation.public %></:col>
|
||||
<:col :let={translation} label="Unauthorized"><%= translation.unauthorized %></:col>
|
||||
@ -19,7 +19,7 @@
|
||||
<div class="sr-only">
|
||||
<.link navigate={~p"/translations/#{translation}"}>Show</.link>
|
||||
</div>
|
||||
<.link patch={~p"/translations/#{translation}/edit"}>Edit</.link>
|
||||
<.link navigate={~p"/translations/#{translation}/edit"}>Edit</.link>
|
||||
</:action>
|
||||
<:action :let={translation}>
|
||||
<.link phx-click={JS.push("delete", value: %{id: translation.id})} data-confirm="Are you sure?">
|
||||
|
||||
Reference in New Issue
Block a user