Style center content for forms
This commit is contained in:
@@ -8,13 +8,17 @@
|
||||
<link href="@Url.Content("~/Content/VehicleColors.css")" rel="stylesheet" type="text/css" />
|
||||
}
|
||||
|
||||
<h2 class="center-content">@ViewBag.Title</h2>
|
||||
|
||||
<p class="alert center-content">Please <strong>confirm</strong> - entry not complete until <strong>confirm</strong> clicked</p>
|
||||
|
||||
@* ReSharper disable Mvc.ActionNotResolved *@
|
||||
@using (Html.BeginForm("Action", "CreateLog", FormMethod.Post))
|
||||
@using (Html.BeginForm("Action", "CreateLog", FormMethod.Post, new { @class = "form-horizontal well center-content" } ))
|
||||
{
|
||||
@* ReSharper restore Mvc.ActionNotResolved *@
|
||||
<fieldset>
|
||||
<legend>@ViewBag.Title</legend>
|
||||
<p class="alert">Please <strong>confirm</strong> - entry not complete until <strong>confirm</strong> clicked</p>
|
||||
<legend></legend>
|
||||
|
||||
@if (Model.Miles == 0)
|
||||
{
|
||||
<p class="alert"><span class="label label-warning">Warning</span> No mileage being logged - <strong>is this a duplicate?</strong></p>
|
||||
@@ -95,14 +99,10 @@
|
||||
</dl>
|
||||
@Html.HiddenFor(model => model.Date)
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
<input type="submit" name="Edit" value="Back" class="btn" />
|
||||
</dt>
|
||||
<dd>
|
||||
<input type="submit" name="Confirm" value="Confirm" class="btn btn-primary" />
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="form-actions">
|
||||
<input type="submit" name="Confirm" value="Confirm" class="btn btn-primary" />
|
||||
<input type="submit" name="Edit" value="Back" class="btn" />
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user