Update to Phoenix 1.6.6

Update by applying https://gist.github.com/chrismccord/2ab350f154235ad4a4d0f4de6decba7b
JS hooks not working yet.
This commit is contained in:
Thelonius Kort
2022-01-30 23:09:00 +01:00
parent eeb200bd98
commit 353c401c95
13 changed files with 58 additions and 8071 deletions

View File

@ -0,0 +1,11 @@
<main role="main" class="container">
<p class="alert alert-info" role="alert"
phx-click="lv:clear-flash"
phx-value-key="info"><%= live_flash(@flash, :info) %></p>
<p class="alert alert-danger" role="alert"
phx-click="lv:clear-flash"
phx-value-key="error"><%= live_flash(@flash, :error) %></p>
<%= @inner_content %>
</main>