Fix error
This commit is contained in:
parent
0133175017
commit
fd2b7de3b6
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@
|
|||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<%= image_tag url_for(@passport.image), class: 'img-fluid' %>
|
||||
<% if @passport.image.attached? %>
|
||||
<%= image_tag url_for(@passport.image), class: 'img-fluid' %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue