We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8decfbe commit 2e876f1Copy full SHA for 2e876f1
1 file changed
priv/templates/heex/lib/layouts/post_layout.ex
@@ -0,0 +1,10 @@
1
+defmodule <%= @app_module %>.PostLayout do
2
+ use Tableau.Layout, layout: <%= @app_module %>.RootLayout
3
+ use Phoenix.Component
4
+
5
+ def template(assigns) do
6
+ ~H"""
7
+ <%= {:safe, render(@inner_content)} %>
8
+ """
9
+ end
10
+end
0 commit comments