Last active
February 22, 2018 23:58
-
-
Save dcomartin/19f157198158ce5fb7703b8e111f71c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@if (item.Actions.Any(x => x.Rel == "ChangeQuantity")) | |
{ | |
<form action="@item.Actions.Single(x => x.Rel == "ChangeQuantity").Href" 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