Remove BlackBerry customizations
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
@using MileageTraker.Web.Utility
|
||||
@model MileageTraker.Web.ViewModels.CreateLogViewModel
|
||||
@model MileageTraker.Web.ViewModels.CreateLogViewModel
|
||||
@{
|
||||
|
||||
ViewBag.Title = "Enter Mileage Log";
|
||||
var blackBerry = Request.IsBlackBerry();
|
||||
ViewBag.PageStyle = blackBerry ? "~/Content/CreateLog/BlackBerry.css" : "~/Content/CreateLog/Index.css";
|
||||
ViewBag.PageStyle = "~/Content/CreateLog/Index.css";
|
||||
Layout = "~/Views/Shared/_Layout.min.cshtml";
|
||||
}
|
||||
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
|
||||
@@ -13,17 +11,12 @@
|
||||
|
||||
@using (Html.BeginForm("Index", "CreateLog", FormMethod.Post))
|
||||
{
|
||||
if (!blackBerry) {
|
||||
@:<fieldset>
|
||||
<legend>@ViewBag.Title</legend>
|
||||
}
|
||||
@Html.ValidationSummary(true)
|
||||
@Html.EditorForModel()
|
||||
<div class="submit">
|
||||
<input type="submit" value="Submit" />
|
||||
</div>
|
||||
if (!blackBerry)
|
||||
{
|
||||
@:</fieldset>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user