Add tidy_raw() helper
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
<.table id="translations" rows={@translations} row_click={&JS.navigate(~p(/translations/#{(&1).id}))}>
|
||||
<:col :let={translation} label="Language"><%= translation.language %></:col>
|
||||
<:col :let={translation} label="Title"><%= translation.title %></:col>
|
||||
<:col :let={translation} label="Teaser"><%= translation.teaser %></:col>
|
||||
<:col :let={translation} label="Teaser"><%= translation.teaser |> tidy_raw %></:col>
|
||||
<%!-- <:col :let={translation} label="Content"><%= translation.content %></:col> --%>
|
||||
<:col :let={translation} label="Date"><%= translation.date %></:col>
|
||||
<:col :let={translation} label="Public"><%= translation.public %></:col>
|
||||
|
||||
Reference in New Issue
Block a user