Add creating and basic editing of translation

This commit is contained in:
Thelonius Kort
2023-01-04 14:42:13 +01:00
parent f4b5abef5a
commit d589d84b40
15 changed files with 235 additions and 47 deletions

View File

@ -86,11 +86,12 @@ defmodule OutlookWeb.Router do
live "/articles/:id/show/edit", ArticleLive.Show, :edit
live "/translations", TranslationLive.Index, :index
live "/translations/new", TranslationLive.Index, :new
live "/translations/:id/edit", TranslationLive.Index, :edit
live "/translations/new", TranslationLive.New, :new
live "/translations/:id/edit", TranslationLive.Edit, :edit
live "/translations/:id", TranslationLive.Show, :show
live "/translations/:id/show/edit", TranslationLive.Show, :edit
live "/deepl_accounts", DeeplAccountLive.Index, :index
live "/deepl_accounts/new", DeeplAccountLive.Index, :new