Files
OD.WebApplication/OD.WebApplication/Views/Home/Index.cshtml
linuxct 7ef04f118b
All checks were successful
continuous-integration/drone/push Build is passing
Socio, esto furula
2020-07-14 12:15:44 +02:00

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>