diff options
Diffstat (limited to 'lib/aggiedit_web/live/post_live/form_component.html.heex')
-rw-r--r-- | lib/aggiedit_web/live/post_live/form_component.html.heex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/aggiedit_web/live/post_live/form_component.html.heex b/lib/aggiedit_web/live/post_live/form_component.html.heex index a956cb3..b0a798e 100644 --- a/lib/aggiedit_web/live/post_live/form_component.html.heex +++ b/lib/aggiedit_web/live/post_live/form_component.html.heex @@ -26,8 +26,8 @@ </div> </div> <% end %> - <%= else %> - <% if !is_nil(@post.upload) do %> + <% else %> + <%= if !is_nil(@post.upload) do %> <div class="row"> <div class="column"> <img style="height:80px" src={Routes.static_path(@socket, "/uploads/#{@post.upload.file}")} /> |