Created
January 8, 2016 05:23
-
-
Save markholdt/0f73668ce7130b12b203 to your computer and use it in GitHub Desktop.
Accessing Request and Response properties within a View
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
<form class="form-inline mini" action="~/@(new GetListings().ToGetUrl())" method="GET" style="margin-bottom: 0px;"> | |
<fieldset> | |
<input type="hidden" name="CategoryId" value="@Model.CategoryId"> | |
<div class="row filter-row"> | |
<div class="col-sm-12"> | |
<label>Price range</label> | |
</div> | |
<div class="col-sm-12"> | |
<div class="input-group"> | |
<span class="input-group-addon">N$</span> | |
<input type="number" class="form-control price-input" id="PriceFrom" name="PriceFrom" placeholder="min" value="@Model.PriceFrom" /> | |
</div> | |
</div> | |
<div class="col-sm-12"> | |
<div class="input-group"> | |
<span class="input-group-addon">N$</span> | |
<input type="number" class="form-control price-input" id="PriceTo" name="PriceTo" placeholder="max" value="@Model.PriceTo" /> | |
</div> | |
</div> | |
</div> | |
<div class="row filter-row"> | |
<div class="col-sm-2 pull-right" style="margin-top: 10px;"> | |
<button class="btn btn-primary pull-right" type="submit">Update results</button> | |
</div> | |
</div> | |
</fieldset> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment