view form edit
Código PHP:
Ver original<?php
'name' => 'aseguradora',
'id' => 'aseguradora',
'value' => set_value('aseguradora', $element->get_aseguradora()),
'maxlenght' => '120',
),
'name' => 'direccion',
'id' => 'direccion',
'value' => set_value('direccion', $element->get_direccion()),
'maxlenght' => '0',
),
'name' => 'logo',
'id' => 'logo',
'value' => set_value('logo', $element->get_logo()),
'maxlenght' => '100',
),
'name' => 'url_portal',
'id' => 'url_portal',
'value' => set_value('url_portal', $element->get_url_portal()),
'maxlenght' => '255',
),
'name' => 'activo',
'id' => 'activo',
'value' => 1,
'checked' => set_value('activo', $element->get_activo()),
),
);
?>
<?php echo validation_errors(); ?>
<?php echo form_open(); ?>
<table>
<tr>
<td><?php echo form_label($this->lang->line('label.aseguradora')); ?></td>
<td><?php echo form_input($config_form['aseguradora']); ?></td>
</tr>
<tr>
<td><?php echo form_label($this->lang->line('label.direccion')); ?></td>
<td><?php echo form_input($config_form['direccion']); ?></td>
</tr>
<tr>
<td><?php echo form_label($this->lang->line('label.logo')); ?></td>
<td><?php echo form_input($config_form['logo']); ?></td>
</tr>
<tr>
<td><?php echo form_label($this->lang->line('label.url_portal')); ?></td>
<td><?php echo form_input($config_form['url_portal']); ?></td>
</tr>
<tr>
<td><?php echo form_label($this->lang->line('label.activo')); ?></td>
<td><?php echo form_checkbox($config_form['activo']); ?></td>
</tr>
<tr>
<td colspan="2">
<?php echo form_submit('mysubmit', 'Submit!'); ?></td>
</tr>
</table>
<?php echo form_close(); ?>