<commit_before><?=$page['header']?>

<?=$page['menu']?>

<?php $item = ''; ?>

	<?php if (!$update): ?>
		<?= form_open_multipart('Integrante/insertItem/Crear'); ?>
	<?php else: ?>
		<?= form_open_multipart('Integrante/updateItem/'.set_value('idPersona').'/Update'); ?>
	<?php endif; ?>
		<div class="col-md-12">
			<div class="col-8 col-md-8">
				<h1 class="page-header">Integrante</h1>
				<?php if ($print <> '') { echo "<pre>";print_r($print);echo "</pre>"; } ?>
			</div>
			<div class="col-4 col-md-4">

				<?php if (isset($idEvent)): ?>
				<?php else: ?>
					<a class="btn btn-primary" href="<?=site_url('Integrante')?>" title="Abrir Reporte"><i class="fa fa-comments fa-fw"></i></a>
					<button type="submit" class="btn btn-primary custbuttons"
					<?php if (!$update): ?>
						title="Crear nuevo integrante"><i class="fa fa-plus-square fa-fw"></i>
					<?php else: ?>
						title="Actualizar integrante"><i class="fa fa-pencil-square-o fa-fw"></i>
					<?php endif; ?>
					</button>
					<a class="btn btn-default" href="<?=site_url('Integrante')?>" title="Cancelar"><i class="fa fa-times-circle"></i></a>
				<?php endif; ?>

			</div>
		</div>
		<!-- /.col-lg-12 -->
		<div class="col-md-12">
			<div class="col-md-6">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">Datos Básicos</h3>
					</div>
					<div class="panel-body">
						<input name="idEvento" type="hidden" value="<?= set_value('idEvento')?>">
						<input name="idGrupo" type="hidden" value="<?= set_value('idGrupo')?>">
						<div class="form-group">
							<label>Foto</label>
							<input type="file" name="foto" class="form-group" capture="camera">
						</div>
						<div class="form-group">
							<label>Nombre</label>
							<input name="Nombre" class="form-control" placeholder="Nombre" value="<?= set_value('Nombre')?>" required>
						</div>
						<div class="form-group">
							<label>Apellido</label>
							<input name="Apellido" class="form-control" placeholder="Apellido" value="<?= set_value('Apellido')?>" required>
						</div>
						<div class="form-group">
							<label>Tipo Documento</label>
							<select name="DocumentoTipo" class="form-control" placeholder="Seleccione Tipo Documento" required>
							<option value="" hidden>Tipo Documento</option>
								<?php foreach ($DocumentoTipo as $item): ?><commit_msg>Ajuste sobre botno Cancelar sujeto a idgrupo<commit_after><?=$page['header']?>

<?=$page['menu']?>

<?php $item = ''; ?>

	<?php if (!$update): ?>
		<?= form_open_multipart('Integrante/insertItem/Crear'); ?>
	<?php else: ?>
		<?= form_open_multipart('Integrante/updateItem/'.set_value('idPersona').'/Update'); ?>
	<?php endif; ?>
		<div class="col-md-12">
			<div class="col-8 col-md-8">
				<h1 class="page-header">Integrante</h1>
				<?php if ($print <> '') { echo "<pre>";print_r($print);echo "</pre>"; } ?>
			</div>
			<div class="col-4 col-md-4">

				<?php if (isset($idEvent)): ?>
				<?php else: ?>
					<a class="btn btn-primary" href="<?=site_url('Integrante')?>" title="Abrir Reporte"><i class="fa fa-comments fa-fw"></i></a>
					<button type="submit" class="btn btn-primary custbuttons"
					<?php if (!$update): ?>
						title="Crear nuevo integrante"><i class="fa fa-plus-square fa-fw"></i>
					<?php else: ?>
						title="Actualizar integrante"><i class="fa fa-pencil-square-o fa-fw"></i>
					<?php endif; ?>
					</button>
					<a class="btn btn-default" href="<?=site_url('Integrante/index/'.$userdata['idGrupo'])?>" title="Cancelar"><i class="fa fa-times-circle"></i></a>
				<?php endif; ?>

			</div>
		</div>
		<!-- /.col-lg-12 -->
		<div class="col-md-12">
			<div class="col-md-6">
				<div class="panel panel-default">
					<div class="panel-heading">
						<h3 class="panel-title">Datos Básicos</h3>
					</div>
					<div class="panel-body">
						<input name="idEvento" type="hidden" value="<?= set_value('idEvento')?>">
						<input name="idGrupo" type="hidden" value="<?= set_value('idGrupo')?>">
						<div class="form-group">
							<label>Foto</label>
							<input type="file" name="foto" class="form-group" capture="camera">
						</div>
						<div class="form-group">
							<label>Nombre</label>
							<input name="Nombre" class="form-control" placeholder="Nombre" value="<?= set_value('Nombre')?>" required>
						</div>
						<div class="form-group">
							<label>Apellido</label>
							<input name="Apellido" class="form-control" placeholder="Apellido" value="<?= set_value('Apellido')?>" required>
						</div>
						<div class="form-group">
							<label>Tipo Documento</label>
							<select name="DocumentoTipo" class="form-control" placeholder="Seleccione Tipo Documento" required>
							<option value="" hidden>Tipo Documento</option>
								<?php foreach ($DocumentoTipo as $item): ?>
{'fraction_non_alphanumeric': 0.22669711438654763, 'fraction_numerical': 0.006227942702927133, 'mean_word_length': 3.705078125, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 0, '>': 163, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7542633', 'n_tokens_mistral': 2085, 'n_tokens_neox': 1676, 'n_words': 318}