
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@model GerenciaProjetos.Models.Bug

<h3>@ViewData["Title"]</h3>

<section class="py-3">
    <div class="card">
        <div class="card-body">
            <form method="post">
                <div class="form-group">
                    <label>Desenvolvedor</label>
                    <select asp-for="DesenvolvedorId" class="form-control" asp-items="ViewBag.Desenvolvedores">
                        <option></option>
                    </select>
                </div>
                <div class="form-group">
                    <label>Requisito</label>
                    <select asp-for="RequisitoId" class="form-control" asp-items="ViewBag.Requisitos">
                        <option></option>
                    </select>
                </div>
                <div class="form-group">
                    <div class="custom-control custom-checkbox">
                        <input type="checkbox" class="custom-control-input" id="admin" asp-for="FoiResolvido">
                        <label class="custom-control-label" for="admin">Foi Resolvido?</label>
                    </div>
                </div>
                <div class="form-group">
                    <label>Descrição</label>
                    <textarea class="form-control" rows="5" asp-for="Descricao"></textarea>
                </div>
                <div class="form-group">
                    <label>Prioridade</label>
                    <select asp-for="Prioridade" class="form-control">
                        <option>Normal</option>
                        <option>Baixa</option>
                        <option>Alta</option>
                    </select>
                </div>
                <div class="text-right">
                    <a class="btn btn-secondary" asp-area="" asp-controller="Bugs" asp-action="Index" asp-route-id="">Cancelar</a>
                    <button type="submit" class="btn btn-primary">Confirmar</button>
                </div>
            </form>
        </div>
    </div>
</section>