<form action="" @submit.prevent="guardarContacto" id="formContacto">
    <input type="hidden" id="contactoID" name="contactoID">
    <div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true" id="modalContacto">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header mh">
                    <h4 class="modal-title"> Guardar contacto</h4>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="form-group">
                        <label for="contactoNombre">Nombre</label>
                        <input type="text" id="contactoNombre" name="contactoNombre" maxlength="50" placeholder="Nombre" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="contactoCargo">Cargo (Observación)</label>
                        <input type="text" id="contactoCargo" name="contactoCargo" maxlength="50" placeholder="Cargo" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="contactoTlf">Teléfono</label>
                        <input type="tel" id="contactoTlf" name="contactoTlf" v-mask="'(####) ###-####'" placeholder="Teléfono" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="contactoEmail">Email</label>
                        <input type="email" id="contactoEmail" name="contactoEmail" maxlength="50" placeholder="Email" class="form-control">
                    </div>
                    <div class="row">
                        <div class="col-12">
                            <div class=" alert alert-warning" role="alert" v-for="row in errorForm">
                                {{ row }}
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <div class="form-group pull-right">
                        <button type="submit" class="btn btn-sm btn-info">Guardar</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>