Formatting for new users

This commit is contained in:
2020-08-18 21:06:08 -04:00
parent 9f654822f8
commit e9211c6ace
6 changed files with 37 additions and 11 deletions
+12 -2
View File
@@ -13,7 +13,18 @@
var user = Membership.GetUser();
}
@if (user == null)
{
<div class="row justify-content-center mb-4">
<div class="col-auto text-light bg-secondary p-2">
New!
<a href="/membership/register" class="text-white">
Register
a LeafWeb <i class="fa fa-leaf" style="color: rgb(172, 214, 118)"></i> account
</a>
</div>
</div>
}
<div class="container-lg">
<div class="row justify-content-center">
<div class="col-md-8 card card-body bg-light">
@@ -63,7 +74,6 @@
</div>
</form>
@using (Html.BeginUmbracoForm<LeafInputController>("Submit", null, new { id = "create" }))
{
@Html.EditorFor(m => m.PhotosynthesisType)