@switch($campo)
    @case("area")
    <form class="formEvent form-row" data-event="submit&&&keyup" data-route="Update_Metodologia&&&Update_Metodologia" data-field="area&&&area" data-action_save="true&&&true" data-reference="{{ $metodologia->id_encrypt_metodologia }}&&&{{ $metodologia->id_encrypt_metodologia }}">  
        
        <div class="col">
            <div class="input-group min-width-input">
                <div class="input-group-prepend">
                    <button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-pencil-alt"></i></button>
                    <div class="dropdown-menu">
                        <a class="dropdown-item btnEvent" data-event="click" data-route="Update_Metodologia" data-field="area" data-reference="{{ $metodologia->id_encrypt_metodologia }}" data-action_save="true">Guardar cambios (Enter)</a>
                        <a class="dropdown-item btnEvent"data-event="click" data-route="Update_Metodologia" data-field="area" data-reference="{{ $metodologia->id_encrypt_metodologia }}" data-action_save="false">Cancelar (Esc)</a>
                    </div>
                </div>

                <select name="id_area" class="form-control id_area">
                    <option value="">Seleccione un área...</option>
                    @foreach($areas as $area)
                        @if($metodologia->area_id_encrypt_area == $area->id_encrypt_area)
                            <option value="{{ $area->id_encrypt_area }}" selected>{{ $area->nom_area }}</option>
                        @else
                            <option value="{{ $area->id_encrypt_area }}">{{ $area->nom_area }}</option>
                        @endif
                    @endforeach
                </select>

                <div class="invalid-feedback text-right contMessage_id_area"></div>
            </div>
        </div>
        
    </form>
    @break


    @case("nombre")
    <form class="formEvent" data-event="submit&&&keyup" data-route="Update_Metodologia&&&Update_Metodologia" data-field="nombre&&&nombre" data-action_save="true&&&true" data-reference="{{ $metodologia->id_encrypt_metodologia }}&&&{{ $metodologia->id_encrypt_metodologia }}">  
        <div class="input-group min-width-input">
            <div class="input-group-prepend">
                <button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-pencil-alt"></i></button>
                <div class="dropdown-menu">
                    <a class="dropdown-item btnEvent" data-event="click" data-route="Update_Metodologia" data-field="nombre" data-reference="{{ $metodologia->id_encrypt_metodologia }}" data-action_save="true">Guardar cambios (Enter)</a>
                    <a class="dropdown-item btnEvent"data-event="click" data-route="Update_Metodologia" data-field="nombre" data-reference="{{ $metodologia->id_encrypt_metodologia }}" data-action_save="false">Cancelar (Esc)</a>
                </div>
            </div>

            <input type="text" name="nombre" class="form-control nombre" value="{{ $metodologia->nom_metodologia}}">

            <div class="invalid-feedback text-right contMessage_nombre"></div>
        </div>
    </form>
    @break

@endswitch