Style center content for forms

This commit is contained in:
2012-12-28 15:45:23 -05:00
parent 7eff2f343a
commit ce6fd9c215
23 changed files with 197 additions and 137 deletions
+8 -4
View File
@@ -3,10 +3,14 @@
ViewBag.Title = "Manage Account";
}
<h2>@ViewBag.Title</h2>
<h2 class="center-content">@ViewBag.Title</h2>
<p class="label label-success">@ViewBag.StatusMessage</p>
<p class="center-content label label-success">@ViewBag.StatusMessage</p>
<p>You're logged in as <strong>@User.Identity.Name</strong>.</p>
<div class="center-content well">
@Html.Partial("_ChangePasswordPartial")
<p>You're logged in as <strong>@User.Identity.Name</strong>.</p>
@Html.Partial("_ChangePasswordPartial")
</div>
@@ -8,6 +8,8 @@
<fieldset>
<legend></legend>
@Html.EditorForModel()
<input type="submit" value="Change password" class="btn btn-primary" />
<div class="form-actions">
<input type="submit" value="Change password" class="btn btn-primary" />
</div>
</fieldset>
}