Style center content for forms
This commit is contained in:
@@ -6,15 +6,19 @@
|
||||
|
||||
@{ Html.RenderPartial("BackToLogs"); }
|
||||
|
||||
<h2>@ViewBag.Title</h2>
|
||||
<h2 class="center-content">@ViewBag.Title</h2>
|
||||
|
||||
<h3>Are you sure you wish to delete this log?</h3>
|
||||
<div class="center-content label label-warning">Are you sure you wish to delete this log?</div>
|
||||
|
||||
@Html.DisplayForModel()
|
||||
<div class="center-content well">
|
||||
|
||||
@using (Html.BeginForm()) {
|
||||
<p>
|
||||
<input type="submit" value="Delete" class="btn btn-warning" />
|
||||
@Html.ActionLink("Cancel", "Details", new { id = Model.LogId }, new { @class = "btn" })
|
||||
</p>
|
||||
}
|
||||
@Html.DisplayForModel()
|
||||
|
||||
@using (Html.BeginForm("Delete", "Log", FormMethod.Post, new { @class = "form-horizontal" }))
|
||||
{
|
||||
<div class="form-actions">
|
||||
<input type="submit" value="Delete" class="btn btn-warning" />
|
||||
@Html.ActionLink("Cancel", "Details", new { id = Model.LogId }, new { @class = "btn" })
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user