Location: PHPKode > projects > ConCentric Event Planning Software > CC/system/application/views/concentric/details.php
<h2>Enter <?=$header?> Details</h2>

<?php $after_form_scripts = ''; ?>
<?=form_open($form_url,$form_attributes)?>
<table id="preference_form">

<?php foreach($fields as $field){ ?>

<?php $after_form_scripts .= ( isset($field['after_form_script']) ) ? $field['after_form_script'] : ''; ?>

<?php   if ( $field['type'] == 'hidden' ) { ?>
<?php     echo $field['form']; ?>

<?php   } else { ?>

<tr>
	<td class='label'>

		<?=form_label($field['label'],$field['name'])?>
		<?php
			if ( isset($field['desc']) && !empty($field['desc']) )
				print "<small>".$field['desc']."</small>";
		?>
	</td>
	<td>
		<?=$field['form']?>
		<?=(isset($field['script'])) ? $field['script'] : NULL?>
	</td>
</tr>

<?php   } //end if ?>
<?php } //end foreach ?>

</table>

<?=(isset($additional_details)) ? '<p>' . $additional_details . '</p>' : NULL?>


<div class="buttons">
	<?php $submit_button_name = ( ! isset($submit_button_name) ) ? 'Save' : $submit_button_name ; ?>
	<button type="submit" class="positive" name="submit" value="submit">
    <?= $this->page->icon('disk');?>
    <?=$submit_button_name?>
    </button>

    <a href="<?=site_url($cancel_url)?>" class="negative">
    <?= $this->page->icon('cross');?>
    <?=$this->lang->line('general_cancel')?>
    </a>      
</div>
<?=form_close()?>

<?=(isset($after_form_scripts)) ? $after_form_scripts : NULL?>


Return current item: ConCentric Event Planning Software