diff --git a/dev/dev_web/live/custom_sign_in_live.ex b/dev/dev_web/live/custom_sign_in_live.ex
index 8cc17905..392d498c 100644
--- a/dev/dev_web/live/custom_sign_in_live.ex
+++ b/dev/dev_web/live/custom_sign_in_live.ex
@@ -33,37 +33,35 @@ defmodule DevWeb.CustomSignInLive do
>
<:sign_in_extra :let={form}>
- <%= label(form, :capcha,
+ {label(form, :capcha,
class: "block text-sm font-medium text-gray-700 mb-1 dark:text-white"
- ) %>
- <%= text_input(form, :capcha,
+ )}
+ {text_input(form, :capcha,
class:
"appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-blue-pale-500 focus:border-blue-pale-500 sm:text-sm dark:text-black"
- ) %>
+ )}
<:register_extra :let={form}>
- <%= label(form, :name,
- class: "block text-sm font-medium text-gray-700 mb-1 dark:text-white"
- ) %>
- <%= text_input(form, :name,
+ {label(form, :name, class: "block text-sm font-medium text-gray-700 mb-1 dark:text-white")}
+ {text_input(form, :name,
class:
"appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-blue-pale-500 focus:border-blue-pale-500 sm:text-sm dark:text-black"
- ) %>
+ )}
<:reset_extra :let={form}>
- <%= label(form, :capcha,
+ {label(form, :capcha,
class: "block text-sm font-medium text-gray-700 mb-1 dark:text-white"
- ) %>
- <%= text_input(form, :capcha,
+ )}
+ {text_input(form, :capcha,
class:
"appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-blue-pale-500 focus:border-blue-pale-500 sm:text-sm dark:text-black"
- ) %>
+ )}
diff --git a/dev/dev_web/live/home_page_live.ex b/dev/dev_web/live/home_page_live.ex
index eb0fc1ba..cc4c10a2 100644
--- a/dev/dev_web/live/home_page_live.ex
+++ b/dev/dev_web/live/home_page_live.ex
@@ -12,7 +12,7 @@ defmodule DevWeb.HomePageLive do
~H"""
<%= if @current_user do %>
- Current user: <%= @current_user.email %>
+ Current user: {@current_user.email}
<.link navigate="/sign-out">Sign out
<% else %>
diff --git a/dev/dev_web/templates/auth/failure.html.heex b/dev/dev_web/templates/auth/failure.html.heex
index f7704766..0b3e7107 100644
--- a/dev/dev_web/templates/auth/failure.html.heex
+++ b/dev/dev_web/templates/auth/failure.html.heex
@@ -6,4 +6,4 @@
-<%= link("Home", to: Routes.live_path(@conn, DevWeb.HomePageLive)) %>
+{link("Home", to: Routes.live_path(@conn, DevWeb.HomePageLive))}
diff --git a/dev/dev_web/templates/auth/sign_out.html.heex b/dev/dev_web/templates/auth/sign_out.html.heex
index 990840a0..97e22b95 100644
--- a/dev/dev_web/templates/auth/sign_out.html.heex
+++ b/dev/dev_web/templates/auth/sign_out.html.heex
@@ -1,3 +1,3 @@
Signed out
-<%= link("Home", to: Routes.live_path(@conn, DevWeb.HomePageLive)) %>
+{link("Home", to: Routes.live_path(@conn, DevWeb.HomePageLive))}
diff --git a/dev/dev_web/templates/auth/success.html.heex b/dev/dev_web/templates/auth/success.html.heex
index 1592f050..a2265c0a 100644
--- a/dev/dev_web/templates/auth/success.html.heex
+++ b/dev/dev_web/templates/auth/success.html.heex
@@ -1 +1 @@
-Welcome back <%= @current_user.email %>. <%= link("Home", to: "/") %>
+Welcome back {@current_user.email}. {link("Home", to: "/")}
diff --git a/dev/dev_web/templates/layout/app.html.heex b/dev/dev_web/templates/layout/app.html.heex
index 78ab6e2f..c9584bc2 100644
--- a/dev/dev_web/templates/layout/app.html.heex
+++ b/dev/dev_web/templates/layout/app.html.heex
@@ -1,5 +1,5 @@
- <%= Phoenix.Flash.get(@flash, :info) %>
- <%= Phoenix.Flash.get(@flash, :error) %>
- <%= @inner_content %>
+ {Phoenix.Flash.get(@flash, :info)}
+ {Phoenix.Flash.get(@flash, :error)}
+ {@inner_content}
diff --git a/dev/dev_web/templates/layout/live.html.heex b/dev/dev_web/templates/layout/live.html.heex
index 40d24f9a..d16959fa 100644
--- a/dev/dev_web/templates/layout/live.html.heex
+++ b/dev/dev_web/templates/layout/live.html.heex
@@ -1,11 +1,11 @@
- <%= Phoenix.Flash.get(@flash, :info) %>
+ {Phoenix.Flash.get(@flash, :info)}
- <%= Phoenix.Flash.get(@flash, :error) %>
+ {Phoenix.Flash.get(@flash, :error)}
- <%= @inner_content %>
+ {@inner_content}
diff --git a/dev/dev_web/templates/layout/root.html.heex b/dev/dev_web/templates/layout/root.html.heex
index 00ae978e..6b01d38d 100644
--- a/dev/dev_web/templates/layout/root.html.heex
+++ b/dev/dev_web/templates/layout/root.html.heex
@@ -4,9 +4,9 @@
- <%= csrf_meta_tag() %>
+ {csrf_meta_tag()}
<.live_title>
- <%= assigns[:page_title] || "Dev" %>
+ {assigns[:page_title] || "Dev"}
@@ -22,6 +22,6 @@
- <%= @inner_content %>
+ {@inner_content}