<?php echo form_open('evento/add'); ?>

	<div class="form-group">
		<label for="titulo"><span class="text-danger">*</span>Título</label>
		<input type="text" id="titulo" name="titulo" class="form-control" value="<?php echo $this->input->post('titulo'); ?>" />
		<span class="text-danger"><?php echo form_error('titulo');?></span>
	</div>
	<div class="form-group">
		<label for="descripcion"><span class="text-danger">*</span>Descripción</label>
		<input type="text" id="descripcion" name="descripcion" class="form-control" value="<?php echo $this->input->post('descripcion'); ?>" />
		<span class="text-danger"><?php echo form_error('descripcion');?></span>
	</div>
	<div class="form-group">
		<label for="lugar"><span class="text-danger">*</span>Lugar</label>
		<input type="text" id="lugar" name="lugar" class="form-control" value="<?php echo $this->input->post('lugar'); ?>" />
	</div>
	<div class="form-group">
		<label for="day"><span class="text-danger">*</span>Día</label>
		<input type="text" id="day" name="day" class="form-control" value="<?php echo $this->input->post('day'); ?>" />
	</div>
	<div class="form-group">
		<label for="month"><span class="text-danger">*</span>Mes</label>
		<input type="text" id="month" name="month" class="form-control" value="<?php echo $this->input->post('month'); ?>" />
	</div>
	<div class="form-group">
		<label for="year"><span class="text-danger">*</span>Año</label> 
		<input type="text" id="year" name="year" class="form-control" value="<?php echo $this->input->post('year'); ?>" />
	</div>

		<input type="hidden" name="id_autor" value="<?php echo $this->input->post('id_autor'); ?>" />
		<input type="hidden" name="id_condominio" value="<?php echo $this->input->post('id_condominio'); ?>" />
		<input type="hidden" name="fecha_registro" value="<?php echo $this->input->post('fecha_registro'); ?>" />
		<input type="hidden" name="fecha_modificacion" value="<?php echo $this->input->post('fecha_modificacion'); ?>" />
		<input type="hidden" name="estado" value="<?php echo $this->input->post('estado'); ?>" />
	<div class="form-group">
		<label for="hora_inicio"><span class="text-danger">*</span>Hora de Inicio</label>
		<input type="text" id="hora_inicio" name="hora_inicio" class="form-control" value="<?php echo $this->input->post('hora_inicio'); ?>" />
	</div>
	<div class="form-group">
		<label for="hora_fin"><span class="text-danger">*</span>Hora de Finalización</label>
		<input type="text" id="hora_fin" name="hora_fin" class="form-control" value="<?php echo $this->input->post('hora_fin'); ?>" />
	</div>
	
	<div class="form-group">
		<button type="submit" class="btn btn-primary">Guardar</button>
	</div>

<?php echo form_close(); ?>