Skip to content

Instantly share code, notes, and snippets.

@dcomartin dcomartin/qty.cshtml
Last active Feb 22, 2018

Embed
What would you like to do?
@if (item.CanChangeQuantity())
{
<form asp-controller="Cart" asp-action="ChangeQuantity" method="post">
<input type="text" name="quantity"/>
<button type="submit" class="btn">
<i class="fas fa-plus"></i>
</button>
</form>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.