21 lines
651 B
Plaintext
21 lines
651 B
Plaintext
@using Microsoft.AspNetCore.Mvc.Rendering
|
|
@model HomeViewModel
|
|
@{
|
|
ViewData["Title"] = "Upload page";
|
|
}
|
|
|
|
<div class="text-center">
|
|
<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> |