diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-11-12 00:14:42 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-11-12 00:14:42 +0100 |
commit | 85e65f6259d4602f2d3fa81191eb052745e632a7 (patch) | |
tree | 93b9c3b0bdf768c85d900dbc068ff83e1dadd343 /system/scaffolding/views/add.php | |
parent | 6599b9a5dc699da2e7d2a69b070d203f99d80b6a (diff) |
Propset eol-style to CRLF
simplified paragraph tag cleanup regex
Diffstat (limited to 'system/scaffolding/views/add.php')
-rw-r--r-- | system/scaffolding/views/add.php | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/system/scaffolding/views/add.php b/system/scaffolding/views/add.php index cbb12f6fb..cac255acf 100644 --- a/system/scaffolding/views/add.php +++ b/system/scaffolding/views/add.php @@ -1,32 +1,32 @@ -<?php $this->load->view('header'); ?> - -<p><?php echo anchor(array($base_uri, 'view'), '< '.$scaff_view_all); ?></p> - - -<?php echo form_open($action); ?> - -<table border="0" cellpadding="3" cellspacing="1"> -<?php foreach($fields as $field): ?> - -<?php if ($field->primary_key == 1) continue; ?> - -<tr> - <td><?php echo $field->name; echo ' '.$field->default; ?></td> - - <?php if ($field->type == 'blob'): ?> - <td><textarea class="textarea" name="<?php echo $field->name; ?>" cols="60" rows="10" ><?php echo form_prep($field->default); ?></textarea></td> - <?php else : ?> - <td><input class="input" name="<?php echo $field->name; ?>" value="<?php echo form_prep($field->default); ?>" size="60" /></td> - <?php endif; ?> - -</tr> -<?php endforeach; ?> -</table> - -<input type="submit" class="submit" value="Insert" /> - -</form> - -<?php $this->load->view('footer'); -/* End of file add.php */ -/* Location: ./system/scaffolding/views/add.php */ +<?php $this->load->view('header'); ?>
+
+<p><?php echo anchor(array($base_uri, 'view'), '< '.$scaff_view_all); ?></p>
+
+
+<?php echo form_open($action); ?>
+
+<table border="0" cellpadding="3" cellspacing="1">
+<?php foreach($fields as $field): ?>
+
+<?php if ($field->primary_key == 1) continue; ?>
+
+<tr>
+ <td><?php echo $field->name; echo ' '.$field->default; ?></td>
+
+ <?php if ($field->type == 'blob'): ?>
+ <td><textarea class="textarea" name="<?php echo $field->name; ?>" cols="60" rows="10" ><?php echo form_prep($field->default); ?></textarea></td>
+ <?php else : ?>
+ <td><input class="input" name="<?php echo $field->name; ?>" value="<?php echo form_prep($field->default); ?>" size="60" /></td>
+ <?php endif; ?>
+
+</tr>
+<?php endforeach; ?>
+</table>
+
+<input type="submit" class="submit" value="Insert" />
+
+</form>
+
+<?php $this->load->view('footer');
+/* End of file add.php */
+/* Location: ./system/scaffolding/views/add.php */
|