Skip to content

Commit

Permalink
feat: Products crud page
Browse files Browse the repository at this point in the history
  • Loading branch information
danielschmitz committed May 23, 2019
1 parent 1280ae6 commit 106a081
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/routes/products.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,14 @@
bind:value={product.unitsInStock} />
</div>
</div>

</div>
<div class="field">
<label class="label">
Discontinued
<input type="checkbox" bind:checked={product.discontinued} />
</label>
</div>

</section>
<footer class="modal-card-foot">
<button class={buttonSaveClass} on:click={save}>Save changes</button>
Expand Down

0 comments on commit 106a081

Please # to comment.