update library + group test (frontend) - #1815 #1879

This commit is contained in:
Laurent GAY
2025-11-21 17:29:16 +01:00
committed by setop
parent 40f40936ec
commit 21e9213c8a
13 changed files with 500 additions and 140 deletions

View File

@@ -38,8 +38,9 @@ defmodule Mobilizon.Web do
namespace: Mobilizon.Web
# Use all HTML functionality (forms, tags, etc)
use Phoenix.HTML
use PhoenixHTMLHelpers
import Phoenix.HTML
import Phoenix.HTML.Form
import Phoenix.View
import Mobilizon.Web.ErrorHelpers
import Mobilizon.Web.Gettext

View File

@@ -3,7 +3,9 @@ defmodule Mobilizon.Web.ErrorHelpers do
Conveniences for translating and building error messages.
"""
use Phoenix.HTML
import Phoenix.HTML
import Phoenix.HTML.Form
use PhoenixHTMLHelpers
@doc """
Translates an error message using gettext.