Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active February 22, 2018 23:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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