﻿@model SendLogInLinkModel
@{
    ViewBag.Title = "Send Log In Link";
}

<div class="jumbotron">
    <div class="row">
        <div class="col-lg-6">
            <h1>Welcome to Secret Santa!</h1>

            @using (Html.BeginForm("LogIn", "Account", FormMethod.Post, new { role = "form", @class = "form-horizontal" }))
            {
                <fieldset>
                    <legend>@ViewBag.Title</legend>

                    <p>
                        If you misplaced your log-in email, you can use this form to have another
                        log-in link sent to you.
                    </p>

                    <div class="form-group">
                        <small>@Html.LabelFor(m => m.Email, new { @class = "control-label col-sm-4" })</small>
                        <div class="col-sm-6">
                            @Html.EditorFor(m => m.Email)
                            <small>@Html.ValidationMessageFor(m => m.Email)</small>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">Send Log-In Link</button>
                        </div>
                    </div>
                </fieldset>
            }
        </div>
        <div class="col-lg-6">
            <img class="img-responsive" src="@Url.Content("~/Content/Images/santa.png")" alt="Santa" />
        </div>
    </div>
</div>
﻿@model SendLogInLinkModel
@{
    ViewBag.Title = "Send Log In Link";
}

<div class="jumbotron">
    <div class="row">
        <div class="col-lg-6">
            <h1>Welcome to Secret Santa!</h1>

            @using (Html.BeginForm("SendLogInLink", "Account", FormMethod.Post, new { role = "form", @class = "form-horizontal" }))
            {
                <fieldset>
                    <legend>@ViewBag.Title</legend>

                    <p>
                        If you misplaced your log-in email, you can use this form to have another
                        log-in link sent to you.
                    </p>

                    <div class="form-group">
                        <small>@Html.LabelFor(m => m.Email, new { @class = "control-label col-sm-4" })</small>
                        <div class="col-sm-6">
                            @Html.EditorFor(m => m.Email)
                            <small>@Html.ValidationMessageFor(m => m.Email)</small>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">Send Log-In Link</button>
                        </div>
                    </div>
                </fieldset>
            }
        </div>
        <div class="col-lg-6">
            <img class="img-responsive" src="@Url.Content("~/Content/Images/santa.png")" alt="Santa" />
        </div>
    </div>
</div>
Correct action for send log in link form
Correct action for send log in link form
