Skip to content

Commit

Permalink
don't render empty list element in ce (plausible#4596)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga authored Sep 19, 2024
1 parent 234d63e commit 5766478
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/plausible_web/templates/auth/login_form.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@

<:footer>
<.focus_list>
<:item>
<%= if Keyword.fetch!(Application.get_env(:plausible, :selfhost), :disable_registration) == false do %>
Don't have an account
<.styled_link href="/register">
Register
</.styled_link>
instead.
<% end %>
<:item :if={
Keyword.fetch!(Application.get_env(:plausible, :selfhost), :disable_registration) == false
}>
Don't have an account
<.styled_link href="/register">
Register
</.styled_link>
instead.
</:item>
<:item>
Forgot password?
Expand Down

0 comments on commit 5766478

Please sign in to comment.