To add image field in shop

This commit is contained in:
San Wai Lwin
2018-03-07 12:41:49 +06:30
parent 5cc369114b
commit 9f29bbef5a
6 changed files with 149 additions and 67 deletions

View File

@@ -96,8 +96,10 @@
<td><%= @settings_shop.calc_tax_order %></td>
</tr>
<tr>
<td style="width:20%">Shop Image</td>
<td><%= image_tag @settings_shop.logo, :size => '200x200'%></td>
</tr>
<tr>
<td><%= link_to t("views.btn.edit"), edit_settings_shop_path(@settings_shop),:class => 'btn btn-primary btn-sm waves-effect' %>
</td>
</tr>