        <div class="row">
            <div class="col-md-12 col-lg-6 px-4">

				<div class="mb-3">
					<label for="firstName" class="form-label">
						<?=lang('Users.firstName') ?>*
					</label>
						<input type="text" id="firstName" name="first_name" required maxLength="150" class="form-control" value="<?=old('first_name', $user->first_name) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="address" class="form-label">
						<?=lang('Users.address') ?>
					</label>
						<input type="text" id="address" name="address" maxLength="255" class="form-control" value="<?=old('address', $user->address) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="state" class="form-label">
						<?=lang('Users.state') ?>*
					</label>
						<input type="text" id="state" name="state"  maxLength="255" class="form-control" value="<?=old('state', $user->state) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="country" class="form-label">
						<?=lang('Users.country') ?>*
					</label>

					<select id="country" name="country" required class="select2 form-control " style="width: 100%;" >
						<option value=""><?=lang('Basic.global.pleaseSelectA', [lang('Users.country')]) ?></option>

					<?php foreach ($paisList as $item) : ?>
						<option value="<?=$item->code ?>"<?=$item->code==$user->country ? ' selected':'' ?> >
							<?=$item->nombre ?>
						</option>
					<?php endforeach; ?>
					</select>
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="dateBirth" class="form-label">
						<?=lang('Users.dateBirth') ?>
					</label>
						<input type="date" id="dateBirth" name="date_birth" maxLength="10" class="form-control" value="<?=old('date_birth', $user->date_birth) ?>">
				</div><!--//.mb-3 -->


				<div class="mb-3">
					<label for="mobile" class="form-label">
						<?=lang('Users.mobile') ?>*
					</label>
						<input type="text" id="mobile" name="mobile" maxLength="50" class="form-control" value="<?=old('mobile', $user->mobile) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="email" class="form-label">
						<?=lang('Users.email') ?>*
					</label>
						<input type="email" id="email" name="email" required maxLength="150" class="form-control" value="<?=old('email', $user->email) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="password" class="form-label">
						<?=lang('Users.password') ?>*
					</label>
						<input type="password" id="password" name="password" maxLength="35" class="form-control" value="<?=old('password', $user->password) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<div class="form-group">
						<label for="group" class="form-label"> <?=lang('Users.group') ?></label>
						<select name="group[]" id="group" multiple="multiple" class="form-control select2 form-select">
							<option value=""><?=lang('Basic.global.pleaseSelectA', [lang('Users.group')]) ?></option>
							<?php foreach ($groups as $item) : ?>
								<?php if (isset($selectedGroups) && sizeof($selectedGroups)>=1): ?>
									<?php foreach ($selectedGroups as $selItem) : ?>
										<option value="<?=$item->token ?>" data-select2-id=<?=$item->token ?> <?=$item->token==$selItem['token_group']?'selected':'' ?>> <?= $item->title ?>
										</option>
									<?php endforeach; ?>
								<?php else: ?>
									<option value="<?=$item->token ?>" data-select2-id=<?=$item->token ?> > <?= $item->title ?>
									</option>
								<?php endif ?>
							<?php endforeach; ?>
						</select>
					</div>
				</div><!--//.mb-3 -->


            </div><!--//.col -->
            <div class="col-md-12 col-lg-6 px-4">

				<div class="mb-3">
					<label for="lastName" class="form-label">
						<?=lang('Users.lastName') ?>*
					</label>
						<input type="text" id="lastName" name="last_name" required maxLength="150" class="form-control" value="<?=old('last_name', $user->last_name) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="city" class="form-label">
						<?=lang('Users.city') ?>
					</label>
						<input type="text" id="city" name="city" maxLength="255" class="form-control" value="<?=old('city', $user->city) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="zipCode" class="form-label">
						<?=lang('Users.zipCode') ?>
					</label>
						<input type="text" id="zipCode" name="zip_code" maxLength="50" class="form-control" value="<?=old('zip_code', $user->zip_code) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<div class="form-group">
						<label for="language" class="text-dark"><?=lang("Users.language")?></label>
						<?php $id_select = old('language', $user->language);?>
						<select name="language" id="language" class="form-control">
							<option value=""><?=lang("App.global_select")?></option>
							<option value="en" <?= $id_select == "en" ? 'selected' : '' ?>><?=lang("App.lang_en")?></option>
							<option value="es" <?= $id_select == "es" ? 'selected' : '' ?>><?=lang("App.lang_es")?></option>
						</select>
					</div>
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="picture" class="form-label">
						<?=lang('Users.picture') ?>*
					</label>
						<input type="text" id="picture" name="picture" required placeholder="/assets/img/default-user.png" maxLength="150" class="form-control" value="<?=old('picture', $user->picture) ?>">
				</div><!--//.mb-3 -->

				<div class="mb-3">
					<label for="blocked" class="form-label">
						<?=lang('Users.blocked') ?>*
					</label>
						<?php $id_select = old('blocked', $user->blocked);?>
						<select name="blocked" id="blocked" class="select2 form-control">
							<option value="0" <?= $id_select == "0" ? 'selected' : '' ?>><?=lang("Users.non_blocked")?></option>
							<option value="1" <?= $id_select == "1" ? 'selected' : '' ?>><?=lang("Users.blocked")?></option>
						</select>
				</div>

				<div class="mb-3">
					<label for="emailConfirmed" class="form-label">
						<?=lang('Users.emailConfirmed') ?>*
					</label>
					<?php $id_select = old('email_confirmed', $user->email_confirmed);?>
					<select name="email_confirmed" id="email_confirmed" class="select2 form-control">
						<option value="0" <?= $id_select == "0" ? 'selected' : '' ?>><?=lang("Users.email_not_confirmed")?></option>
						<option value="1" <?= $id_select == "1" ? 'selected' : '' ?>><?=lang("Users.email_confirmed")?></option>
					</select>

				</div>


				<div class="mb-3">
					<label for="status" class="form-label">
						<?=lang('Users.status') ?>*
					</label>
					<?php $id_select = old('status', $user->status);?>
					<select name="status" id="status" class="select2 form-control">
						<option value="1" <?= $id_select == "1" ? 'selected' : '' ?>><?=lang("Users.global_active")?></option>
						<option value="0" <?= $id_select == "0" ? 'selected' : '' ?>><?=lang("Users.global_inactive")?></option>
					</select>

				</div><!--//.mb-3 -->

            </div><!--//.col -->    

        </div><!-- //.row -->