add preview of image in image_edit
This commit is contained in:
parent
0dc4834fe5
commit
9575ea0393
1 changed files with 5 additions and 0 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue