This commit is contained in:
@ -1,8 +1,21 @@
|
||||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
@using Microsoft.AspNetCore.Mvc.Rendering
|
||||
@model HomeViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Upload page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Welcome</h1>
|
||||
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
||||
<h4>Escoge el CSV a parsear</h4>
|
||||
<br/>
|
||||
@using (Html.BeginForm("UploadCSV", "Home", FormMethod.Post, new {id = "loginForm", enctype = "multipart/form-data"}))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<div class="form-group">
|
||||
<label asp-for="@Model.FileAttach"></label>
|
||||
<input asp-for="@Model.FileAttach" type="file">
|
||||
<span asp-validation-for="@Model.FileAttach"></span>
|
||||
</div>
|
||||
<input class="btn btn-outline-primary" type="submit"/>
|
||||
}
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user