Update some superficial things
This commit is contained in:
@ -1,10 +1,5 @@
|
||||
<.header>
|
||||
Listing Translations
|
||||
<:actions>
|
||||
<.link patch={~p"/translations/new"}>
|
||||
<.button>New Translation</.button>
|
||||
</.link>
|
||||
</:actions>
|
||||
</.header>
|
||||
|
||||
<.table id="translations" rows={@translations} row_click={&JS.navigate(~p"/translations/#{&1}")}>
|
||||
|
||||
@ -18,7 +18,7 @@ defmodule OutlookWeb.TranslationLive.NewEdit do
|
||||
translation={@translation}
|
||||
translation_content={@translation_content}
|
||||
current_user={@current_user}
|
||||
navigate={~p"/translations"}
|
||||
navigate={~p"/articles/#{@translation.article}"}
|
||||
/>
|
||||
"""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user