-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathDefault.cshtml
More file actions
40 lines (32 loc) · 1.46 KB
/
Default.cshtml
File metadata and controls
40 lines (32 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
@using SGFDevs.Controllers
@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<Umbraco.Cms.Web.Common.Models.LoginModel>
<div class="container">
<p>@ViewData["Login"]</p>
<p>@ViewData["invalid"]</p>
<p>@ViewData["LoginInvalid"]</p>
<p>@ViewData["loginWorked"]</p>
@using (Html.BeginUmbracoForm("Login", "Account", FormMethod.Post))
{
<div class="form">
@Html.ValidationSummary(true)
<div class="field">
<label for="username">Username</label>
<input asp-for="@Model.Username" class="form-control" id="username" placeholder="Username" data-sb-validations="required,email"/>
<span asp-validation-for="@Model.Username" class="text-danger"></span>
</div>
<div class="field">
<label for="password">Password</label>
<input asp-for="@Model.Password" class="form-control" type="password" id="password" placeholder="Enter your email..." autocomplete="off" data-sb-validations="required"/>
<span asp-validation-for="@Model.Password" class="text-danger"></span>
</div>
<footer>
<button class="button tall wide" type="submit">Login</button>
</footer>
<div class="mt_25"></div>
<footer>
<p><a href="/forgotten-password">Forgot your password?</a></p>
</footer>
</div>
}
</div>
<div class="mt_75"></div>