edit product form

This commit is contained in:
Yan
2017-10-30 10:29:02 +06:30
parent 8d12acb530
commit 8169da4d52

View File

@@ -20,8 +20,7 @@
<% if f.object.image_path? %>
<p><%= f.object.name %></p>
<%= image_tag f.object.image_path.url, :class => "img-thumbnail" %>
<% else %>
<p>Sample Image</p>
<% else %>
<%= image_tag "/image/menu_images/default.png", :class => "img-thumbnail" %>
<% end %>
</div>