Formatting for new users
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user