Saved: 2017-11-19 20:43
Torey Heinz
committed Nov 20, 2017
commit ba7ce5c2e8cdb0edb77eb3195be0fe60e8a727c8
Showing 1
changed file with
10 additions
and 8 deletions
app/views/pages/index.liquid
+10
-8
| @@ | @@ -84,16 +84,18 @@ is_layout: false |
| <div class="row stock-items expanded"> | |
| <div class="row wide small-up-2 large-up-4 text-center gutter-small"> | |
| <h3 class="">In Stock Items</h3> | |
| - | {% for product in contents.products %} |
| - | <div class="column"> |
| - | <div class="card"> |
| - | <img src="{{ product.image.url | resize: '200x200#' }}"> |
| - | <div class="title card-divider" data-equalizer-watch> |
| - | <p class="lead">{{ product.title }}</p> |
| + | {% editable_model products %} |
| + | {% for product in contents.products %} |
| + | <div class="column"> |
| + | <div class="card"> |
| + | <img src="{{ product.image.url | resize: '200x200#' }}"> |
| + | <div class="title card-divider" data-equalizer-watch> |
| + | <p class="lead">{{ product.title }}</p> |
| + | </div> |
| </div> | |
| </div> | |
| - | </div> |
| - | {% endfor %} |
| + | {% endfor %} |
| + | {% endeditable_model %} |
| </div> | |
| </div> | |
| </div> | |