Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active February 22, 2018 23:52
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