add preview of image in image_edit

This commit is contained in:
inhji 2023-04-13 13:10:46 +02:00
parent 0dc4834fe5
commit 9575ea0393

View file

@ -3,6 +3,11 @@
<:subtitle>Use this form to manage note image records in your database.</:subtitle> <:subtitle>Use this form to manage note image records in your database.</:subtitle>
</.header> </.header>
<img
class="rounded-lg border border-theme-dim"
src={ChiyaWeb.Uploaders.NoteImage.url({image.path, image}, :full_dithered)}
/>
<.simple_form <.simple_form
:let={f} :let={f}
for={@changeset} for={@changeset}