Skip to content

Commit 2c025a7

Browse files
committed
fixed method name
1 parent 0615dc3 commit 2c025a7

File tree

2 files changed

+14
-25
lines changed

2 files changed

+14
-25
lines changed

launcher-csharp/Admin/Controllers/CreateAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public CreateAccount(DsConfiguration config, LauncherTexts launcherTexts, IReque
2929
[SetViewBag]
3030
[HttpPost]
3131
[ValidateAntiForgeryToken]
32-
public ActionResult CloneAccountData(
32+
public ActionResult CreateAccountData(
3333
string email,
3434
string firstName,
3535
string lastName)

launcher-csharp/Admin/Views/CreateAccount/Aeg013.cshtml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,56 +11,45 @@
1111
</p>
1212

1313

14-
<partial name="../../../Views/Shared/LinkToMethodView" model="ViewBag.CodeExampleText" />
14+
<partial name="../../../Views/Shared/LinkToMethodView" model="ViewBag.CodeExampleText" />
1515

1616
<p>
1717
@Html.Raw(
18-
@String.Format(
19-
ViewBag.SupportingTexts.ViewSourceFile,
18+
@String.Format(
19+
ViewBag.SupportingTexts.ViewSourceFile,
2020
"<a target='_blank' href=" + @ViewBag.source + ">CreateAccount.cs</a>"
2121
)
22-
)
22+
)
2323
</p>
2424

25-
<form class="eg" asp-action="CloneAccountData" method="post" data-busy="form">
25+
<form class="eg" asp-action="CreateAccountData" method="post" data-busy="form">
2626
<div class="form-group">
2727
<label for="email">
2828
@Html.Raw(ViewBag.CodeExampleText.Forms[formNumber].Inputs[emailInputNumber].InputName)
2929
</label>
3030

31-
<input type="email"
32-
class="form-control"
33-
id="email"
34-
name="email"
35-
aria-describedby="emailHelp"
36-
placeholder="@ViewBag.CodeExampleText.Forms[formNumber].Inputs[emailInputNumber].InputPlaceholder"
37-
required>
31+
<input type="email" class="form-control" id="email" name="email" aria-describedby="emailHelp"
32+
placeholder="@ViewBag.CodeExampleText.Forms[formNumber].Inputs[emailInputNumber].InputPlaceholder" required>
3833
</div>
3934

4035
<div class="form-group">
4136
<label for="firstName">
4237
@Html.Raw(ViewBag.CodeExampleText.Forms[formNumber].Inputs[firstNameInputNumber].InputName)
4338
</label>
4439

45-
<input type="text"
46-
class="form-control"
47-
id="firstName"
48-
placeholder="@ViewBag.CodeExampleText.Forms[formNumber].Inputs[firstNameInputNumber].InputPlaceholder"
49-
name="firstName"
50-
required />
40+
<input type="text" class="form-control" id="firstName"
41+
placeholder="@ViewBag.CodeExampleText.Forms[formNumber].Inputs[firstNameInputNumber].InputPlaceholder"
42+
name="firstName" required />
5143
</div>
5244

5345
<div class="form-group">
5446
<label for="lastName">
5547
@Html.Raw(ViewBag.CodeExampleText.Forms[formNumber].Inputs[lastNameInputNumber].InputName)
5648
</label>
5749

58-
<input type="text"
59-
class="form-control"
60-
id="lastName"
61-
placeholder="@ViewBag.CodeExampleText.Forms[formNumber].Inputs[lastNameInputNumber].InputPlaceholder"
62-
name="lastName"
63-
required />
50+
<input type="text" class="form-control" id="lastName"
51+
placeholder="@ViewBag.CodeExampleText.Forms[formNumber].Inputs[lastNameInputNumber].InputPlaceholder"
52+
name="lastName" required />
6453
</div>
6554

6655
<button type="submit" class="btn btn-primary">@Html.Raw(ViewBag.SupportingTexts.SubmitButton)</button>

0 commit comments

Comments
 (0)