Ir para conteúdo

ClaudemarR

Members
  • Total de itens

    1
  • Registro em

  • Última visita

Reputação

0 Comum

Sobre ClaudemarR

  1. Ola pessoal sou novo por aqui :) Preciso de uma ajudinha de vocês, estou tentando inserir o Bootstrap em um programinha MVC segue imagem do problema + código fonte @model alunos.Models.pessoa @{ ViewBag.Title = "Alterando os dados de um aluno"; } <br/> <br/> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="panel panel-primary"> <div class="panel-heading">Alteração dos dados de um Aluno</div> <div class="panel-body form-inline"> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.codigo) <div class="form-group"> @Html.LabelFor(model => model.nome, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.nome, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.nome, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.Endereco, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Endereco, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Endereco, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.numero, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.numero, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.numero, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.Bairro, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Bairro, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Bairro, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.cidade, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.cidade, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.cidade, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.telefone, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.telefone, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.telefone, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.Cpf, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Cpf, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Cpf, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.Rg, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Rg, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Rg, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.Email, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.Email, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Email, "", new { @class = "text-danger" }) </div> </div> <div class="form-group"> @Html.LabelFor(model => model.exame, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.EditorFor(model => model.exame, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.exame, "", new { @class = "text-danger" }) </div> </div> <div class="panel-footer panel-info"> <div class="col-md-offset-2 col-md-10"> <input type="submit" value="Gravar alterações" class="btn btn-info" /> @Html.ActionLink("Retornar para a listagem de Alunos", "Index", null, new { @class = "btn btn-warning" }) </div> <br /> <br /> </div> </div> </div> } @section Scripts { @Scripts.Render("~/bundles/jqueryval") }
×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.