@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user