File tree 2 files changed +2
-2
lines changed
phoenix_container_example_web/components
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ defmodule PhoenixContainerExampleWeb do
43
43
layouts: [ html: PhoenixContainerExampleWeb.Layouts ]
44
44
45
45
use Gettext , backend: PhoenixContainerExampleWeb.Gettext
46
+
46
47
import Plug.Conn
47
48
48
49
unquote ( verified_routes ( ) )
@@ -81,12 +82,12 @@ defmodule PhoenixContainerExampleWeb do
81
82
82
83
defp html_helpers do
83
84
quote do
85
+ use Gettext , backend: PhoenixContainerExampleWeb.Gettext
84
86
# HTML escaping functionality
85
87
import Phoenix.HTML
86
88
87
89
# Core UI components and translation
88
90
import PhoenixContainerExampleWeb.CoreComponents
89
- use Gettext , backend: PhoenixContainerExampleWeb.Gettext
90
91
91
92
# Shortcut for generating JS commands
92
93
alias Phoenix.LiveView.JS
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ defmodule PhoenixContainerExampleWeb.CoreComponents do
15
15
Icons are provided by [heroicons](https://heroicons.com). See `icon/1` for usage.
16
16
"""
17
17
use Phoenix.Component
18
-
19
18
use Gettext , backend: PhoenixContainerExampleWeb.Gettext
20
19
21
20
alias Phoenix.HTML.FormField
You can’t perform that action at this time.
0 commit comments