@@ -81,7 +81,7 @@ defmodule PlexusWeb.CoreComponents do
8181 </ button >
8282 </ div >
8383 < div id = { "#{ @ id } -content" } >
84- <%= render_slot ( @ inner_block ) %>
84+ { render_slot ( @ inner_block ) }
8585 </ div >
8686 </ . focus_wrap >
8787 </ div >
@@ -126,9 +126,9 @@ defmodule PlexusWeb.CoreComponents do
126126 < . icon :if = { @ kind == :info } name = "hero-information-circle-mini " class = "h-4 w-4 " />
127127 < . icon :if = { @ kind == :success } name = "hero-information-circle-mini " class = "h-4 w-4 " />
128128 < . icon :if = { @ kind == :error } name = "hero-exclamation-circle-mini " class = "h-4 w-4 " />
129- <%= @ title %>
129+ { @ title }
130130 </ p >
131- < p class = "mt-2 text-sm leading-5 " > <%= msg %> </ p >
131+ < p class = "mt-2 text-sm leading-5 " > { msg } </ p >
132132 < button type = "button " class = "group absolute top-1 right-1 p-2 " aria-label = { gettext ( "close" ) } >
133133 < . icon name = "hero-x-mark-solid " class = "h-5 w-5 opacity-40 group-hover:opacity-70 " />
134134 </ button >
@@ -202,9 +202,9 @@ defmodule PlexusWeb.CoreComponents do
202202 ~H"""
203203 < . form :let = { f } for = { @ for } as = { @ as } { @ rest } >
204204 < div class = "mt-10 space-y-8 " >
205- <%= render_slot ( @ inner_block , f ) %>
205+ { render_slot ( @ inner_block , f ) }
206206 < div :for = { action <- @ actions } class = "mt-2 flex items-center justify-between gap-6 " >
207- <%= render_slot ( action , f ) %>
207+ { render_slot ( action , f ) }
208208 </ div >
209209 </ div >
210210 </ . form >
@@ -236,7 +236,7 @@ defmodule PlexusWeb.CoreComponents do
236236 ] }
237237 { @ rest }
238238 >
239- <%= render_slot ( @ inner_block ) %>
239+ { render_slot ( @ inner_block ) }
240240 </ button >
241241 """
242242 end
@@ -317,36 +317,36 @@ defmodule PlexusWeb.CoreComponents do
317317 class = "rounded border-zinc-300 text-zinc-900 focus:ring-0 "
318318 { @ rest }
319319 />
320- <%= @ label %>
320+ { @ label }
321321 </ label >
322- < . error :for = { msg <- @ errors } > <%= msg %> </ . error >
322+ < . error :for = { msg <- @ errors } > { msg } </ . error >
323323 </ div >
324324 """
325325 end
326326
327327 def input ( % { type: "select" } = assigns ) do
328328 ~H"""
329329 < div phx-feedback-for = { @ name } >
330- < . label for = { @ id } > <%= @ label %> </ . label >
330+ < . label for = { @ id } > { @ label } </ . label >
331331 < select
332332 id = { @ id }
333333 name = { @ name }
334334 class = "mt-2 block w-full rounded-md border border-gray-300 bg-white shadow-sm focus:border-zinc-400 focus:ring-0 sm:text-sm "
335335 multiple = { @ multiple }
336336 { @ rest }
337337 >
338- < option :if = { @ prompt } value = "" > <%= @ prompt %> </ option >
339- <%= Phoenix.HTML.Form . options_for_select ( @ options , @ value ) %>
338+ < option :if = { @ prompt } value = "" > { @ prompt } </ option >
339+ { Phoenix.HTML.Form . options_for_select ( @ options , @ value ) }
340340 </ select >
341- < . error :for = { msg <- @ errors } > <%= msg %> </ . error >
341+ < . error :for = { msg <- @ errors } > { msg } </ . error >
342342 </ div >
343343 """
344344 end
345345
346346 def input ( % { type: "textarea" } = assigns ) do
347347 ~H"""
348348 < div phx-feedback-for = { @ name } >
349- < . label for = { @ id } > <%= @ label %> </ . label >
349+ < . label for = { @ id } > { @ label } </ . label >
350350 < textarea
351351 id = { @ id }
352352 name = { @ name }
@@ -359,7 +359,7 @@ defmodule PlexusWeb.CoreComponents do
359359 ] }
360360 { @ rest }
361361 > <%= Phoenix.HTML.Form . normalize_value ( "textarea" , @ value ) %> </ textarea >
362- < . error :for = { msg <- @ errors } > <%= msg %> </ . error >
362+ < . error :for = { msg <- @ errors } > { msg } </ . error >
363363 </ div >
364364 """
365365 end
@@ -368,7 +368,7 @@ defmodule PlexusWeb.CoreComponents do
368368 def input ( assigns ) do
369369 ~H"""
370370 < div phx-feedback-for = { @ name } >
371- < . label for = { @ id } > <%= @ label %> </ . label >
371+ < . label for = { @ id } > { @ label } </ . label >
372372 < input
373373 type = { @ type }
374374 name = { @ name }
@@ -382,7 +382,7 @@ defmodule PlexusWeb.CoreComponents do
382382 ] }
383383 { @ rest }
384384 />
385- < . error :for = { msg <- @ errors } > <%= msg %> </ . error >
385+ < . error :for = { msg <- @ errors } > { msg } </ . error >
386386 </ div >
387387 """
388388 end
@@ -396,7 +396,7 @@ defmodule PlexusWeb.CoreComponents do
396396 def label ( assigns ) do
397397 ~H"""
398398 < label for = { @ for } class = "block text-sm font-semibold leading-6 text-zinc-800 " >
399- <%= render_slot ( @ inner_block ) %>
399+ { render_slot ( @ inner_block ) }
400400 </ label >
401401 """
402402 end
@@ -410,7 +410,7 @@ defmodule PlexusWeb.CoreComponents do
410410 ~H"""
411411 < p class = "mt-3 flex gap-3 text-sm leading-6 text-rose-600 phx-no-feedback:hidden " >
412412 < . icon name = "hero-exclamation-circle-mini " class = "mt-0.5 h-5 w-5 flex-none " />
413- <%= render_slot ( @ inner_block ) %>
413+ { render_slot ( @ inner_block ) }
414414 </ p >
415415 """
416416 end
@@ -429,13 +429,13 @@ defmodule PlexusWeb.CoreComponents do
429429 < header class = { [ @ actions != [ ] && "flex items-center justify-between gap-6" , @ class ] } >
430430 < div >
431431 < h1 class = "text-lg font-semibold leading-8 text-zinc-800 " >
432- <%= render_slot ( @ inner_block ) %>
432+ { render_slot ( @ inner_block ) }
433433 </ h1 >
434434 < p :if = { @ subtitle != [ ] } class = "mt-2 text-sm leading-6 text-zinc-600 " >
435- <%= render_slot ( @ subtitle ) %>
435+ { render_slot ( @ subtitle ) }
436436 </ p >
437437 </ div >
438- < div class = "flex-none " > <%= render_slot ( @ actions ) %> </ div >
438+ < div class = "flex-none " > { render_slot ( @ actions ) } </ div >
439439 </ header >
440440 """
441441 end
@@ -479,9 +479,9 @@ defmodule PlexusWeb.CoreComponents do
479479 < table class = "w-[40rem] mt-11 sm:w-full " >
480480 < thead class = "text-sm text-left leading-6 text-zinc-500 " >
481481 < tr >
482- < th :for = { col <- @ col } class = "p-0 pb-4 pr-6 font-normal " > <%= col [ :label ] %> </ th >
482+ < th :for = { col <- @ col } class = "p-0 pb-4 pr-6 font-normal " > { col [ :label ] } </ th >
483483 < th :if = { @ action != [ ] } class = "relative p-0 pb-4 " >
484- < span class = "sr-only " > <%= gettext ( "Actions" ) %> </ span >
484+ < span class = "sr-only " > { gettext ( "Actions" ) } </ span >
485485 </ th >
486486 </ tr >
487487 </ thead >
@@ -504,7 +504,7 @@ defmodule PlexusWeb.CoreComponents do
504504 < div class = "block py-4 pr-6 " >
505505 < span class = "absolute -inset-y-px right-0 -left-4 group-hover:bg-zinc-50 sm:rounded-l-xl " />
506506 < span class = { [ "relative" , i == 0 && "font-semibold text-zinc-900" ] } >
507- <%= render_slot ( col , @ row_item . ( row ) ) %>
507+ { render_slot ( col , @ row_item . ( row ) ) }
508508 </ span >
509509 </ div >
510510 </ td >
@@ -515,7 +515,7 @@ defmodule PlexusWeb.CoreComponents do
515515 :for = { action <- @ action }
516516 class = "relative ml-4 font-semibold leading-6 text-zinc-900 hover:text-zinc-700 "
517517 >
518- <%= render_slot ( action , @ row_item . ( row ) ) %>
518+ { render_slot ( action , @ row_item . ( row ) ) }
519519 </ span >
520520 </ div >
521521 </ td >
@@ -545,8 +545,8 @@ defmodule PlexusWeb.CoreComponents do
545545 < div class = "mt-14 " >
546546 < dl class = "-my-4 divide-y divide-zinc-100 " >
547547 < div :for = { item <- @ item } class = "flex gap-4 py-4 text-sm leading-6 sm:gap-8 " >
548- < dt class = "w-1/4 flex-none text-zinc-500 " > <%= item . title %> </ dt >
549- < dd class = "text-zinc-700 " > <%= render_slot ( item ) %> </ dd >
548+ < dt class = "w-1/4 flex-none text-zinc-500 " > { item . title } </ dt >
549+ < dd class = "text-zinc-700 " > { render_slot ( item ) } </ dd >
550550 </ div >
551551 </ dl >
552552 </ div >
@@ -571,7 +571,7 @@ defmodule PlexusWeb.CoreComponents do
571571 class = "text-sm font-semibold leading-6 text-zinc-900 hover:text-zinc-700 "
572572 >
573573 < . icon name = "hero-arrow-left-solid " class = "h-3 w-3 " />
574- <%= render_slot ( @ inner_block ) %>
574+ { render_slot ( @ inner_block ) }
575575 </ . link >
576576 </ div >
577577 """
@@ -623,7 +623,7 @@ defmodule PlexusWeb.CoreComponents do
623623 @ level == :silver && "bg-slate-300 text-slate-800" ,
624624 @ level == :gold && "bg-amber-200 text-amber-800"
625625 ] } >
626- <%= @ title %>
626+ { @ title }
627627 </ span >
628628 """
629629 end
@@ -653,13 +653,13 @@ defmodule PlexusWeb.CoreComponents do
653653 < div class = "flex-1 flex items-center justify-between bg-white truncate " >
654654 < div class = "flex-1 px-4 py-2 text-md leading-5 truncate " >
655655 < div class = "truncate text-gray-900 font-semibold transition ease-in-out duration-150 " >
656- <%= @ app . name %>
656+ { @ app . name }
657657 </ div >
658658 < p :if = { @ total_counts == 1 } class = "text-gray-600 truncate " >
659- <%= @ total_counts %> Rating
659+ { @ total_counts } Rating
660660 </ p >
661661 < p :if = { @ total_counts != 1 } class = "text-gray-600 truncate " >
662- <%= @ total_counts %> Ratings
662+ { @ total_counts } Ratings
663663 </ p >
664664 </ div >
665665 </ div >
@@ -675,7 +675,7 @@ defmodule PlexusWeb.CoreComponents do
675675 @ native_level == :gold && "bg-amber-200 black"
676676 ] }
677677 >
678- <%= @ app . scores . native . numerator %>
678+ { @ app . scores . native . numerator }
679679 </ div >
680680 < div
681681 title = "MicroG Score "
@@ -688,7 +688,7 @@ defmodule PlexusWeb.CoreComponents do
688688 @ micro_g_level == :gold && "bg-amber-200 text-black"
689689 ] }
690690 >
691- μ<%= @ app . scores . micro_g . numerator %>
691+ μ{ @ app . scores . micro_g . numerator }
692692 </ div >
693693 </ div >
694694 </ div >
0 commit comments