Last active
December 23, 2015 22:59
-
-
Save cdeutsch/6707476 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
@using (Html.BeginForm(null, null, FormMethod.Post, new { @class = "form-signin" })) { | |
<h3>Scan Your Promo Code</h3> | |
<table class="form-group"> | |
<tr> | |
<td> | |
@Html.TextBoxFor(mm => mm.PromoCode, new { placeholder = "Promo code", autofocus = "", @class = "form-control" }) | |
</td> | |
@if (Request.UserAgent.Contains("XamarinBarcodeSampleApp")) | |
{ | |
<td> | |
<button id="scanBarcode" class="btn btn-info btn-block" type="submit">Scan</button> | |
</td> | |
} | |
</tr> | |
</table> | |
<button class="btn btn-lg btn-primary btn-block" type="submit">Register</button> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment