Hi Team
Maybe if my question sounded so unclear, my aim was to get the form to be on the center including the text input of the form. See my logic in doing this below.
@using eNtsaRegistrationTraining.Models
@model EditTrainingRegFormViewModel
@{
ViewBag.Ttile = "Dashboard";
Layout = "~/Views/Shared/_HomeLayout.cshtml";
}
<center>
<div class="register-box ">
<div class="register-logo">
</div>
<div class="card">
<div class="card-body register-card-body">
<center>
<img src="~/Images/eNtsa.png" />
</center>
<center>
<p>Training Course Registration:Motion MasterClass</p>
</center>
@using (Html.BeginForm("editRegForm", "Home", FormMethod.Post, new { @role = "form" }))
{
@Html.AntiForgeryToken()
<div class="input-group mb-3">
@Html.TextBoxFor(m => m.Title, new { @class = "form-control", type = "text", id = "title", autofocus = "autofocus", placeholder = "Title", required = "required" })
<div class="input-group-append">
<div class="input-group-text">
</div>
</div>
</div>
}
</div>
</div>
</center>
</div>