help, add more fields

0

in this code:

@for (int i = 0; i < QtdNumero; i++)
{
    <div class="form-group">
        @Html.Label("Telefone ", htmlAttributes: new { @class = "control-label col-md-2" })
        <div class="col-md-10">
            @Html.EditorFor(model => model.tb_Telefone[i].numero, new { htmlAttributes = new { @class = "form-control" } })
        </div>
    </div>
    <!--*Fim do Foreach -->
}     

It creates a Teleone label and Text to type, however I need to add more field with a button, I do not know how to do this, does anyone have any ideas?

    
asked by anonymous 06.07.2018 / 22:42

0 answers