Here's the entire page:
<div id="main_content">
<?php if (isset($editing)): ?>
<p id="breadcrumb"><a href="<?php echo $referer?>">Back to Items</a>
› Editing <span class="highlight"><?php echo $item->item_title?
></span></p>
<?php endif; ?>
<?php if (isset($errors)): ?>
<div class="error"><?php echo $errors?></div>
<?php endif; ?>
<form action="" method="post" class="generic">
<p><label class="title" for="title_input">Title</label>
<input id="title_input" type="text" class="text_input" name="title"
value="<?php if (!$_POST && isset($item)): echo $item->item_title;
else: echo $this->input->post('title'); endif;?>" /></p>
<p><label class="title" for="content_input">Content</label>
<textarea id="content_input" class="text_input" name="content"><?php
if (!$_POST && isset($item)): echo $item->item_content; else: echo
$this->input->post('content'); endif;?></textarea></p>
<p><label class="title" for="permalink_input">Permalink</label>
<input id="permalink_input" class="text_input" name="permalink"
value="<?php if (!$_POST && isset($item)): echo $item->item_permalink;
else: echo $this->input->post('permalink'); endif;?>" /></p>
<p><label class="title" for="tag_input">Tags</label>
<input id="tag_input" type="text" class="text_input" name="tags"
value="<?php if (!$_POST && isset($tag_string)): echo $tag_string;
else: echo $this->input->post('tags'); endif;?>" /></p>
<span class="input_explain">Separate with commas e.g. these, are, my,
tags</span></p>
<?php if (isset($editing) && empty($item->item_feed_id)): ?>
<p><label class="title" for="feed_url_input">Timestamp / Publish
Options</label>
<span class="option_container">
<span class="option"><input<?php if (!$_POST || $this->input-
>post('timestamp') == 'no_change'): ?> checked="checked"<?php endif; ?
> type="radio" name="timestamp" value="no_change"
id="radio_no_change" /> <label for="radio_no_change">No Change</
label></span>
<span class="option"><input<?php if ($this->input->post('timestamp')
== 'make_current'): ?> checked="checked"<?php endif; ?> type="radio"
name="timestamp" value="make_current" id="radio_make_current" />
<label for="radio_make_current">Make Current Time</label></span>
<?php if ($item->item_status == 'draft'): ?>
<span class="option"><input<?php if ($this->input->post('timestamp')
== 'make_current_publish'): ?> checked="checked"<?php endif; ?>
type="radio" name="timestamp" value="make_current_publish"
id="radio_make_current_publish" /> <label
for="radio_make_current_publish">Make Current Time and Publish Now</
label></span>
<?php endif; ?>
</span>
</p>
<?php endif; ?>
<div class="buttons">
<input type="hidden" value="false" name="draft" />
<div class="clear"></div>
<?php if (isset($editing)): ?>
<input type="hidden" name="referer" value="<?php echo $referer?>" />
<input type="hidden" name="save_edit" value="true" />
<button type="submit" class="positive">
<img src="<?php echo $this->config->item('base_url')?>public/
images/system/icons/silk/accept.png" alt="" />
Save Changes
</button>
<?php else: ?>
<button type="submit" class="positive">
<img src="<?php echo $this->config->item('base_url')?>public/
images/system/icons/silk/accept.png" alt="" />
Publish Post Now
</button>
<a href="#draft" class="draft_button">
<img src="<?php echo $this->config->item('base_url')?>public/
images/system/icons/silk/page_white.png" alt="" />
Save as Draft
</a>
<?php endif; ?>
</div>
</form>
</div>
<div id="side_content">
<p class="tip"><strong>Shorthand</strong><br />The blog post content
area supports the <a href="
http://daringfireball.net/projects/markdown/
syntax" rel="external">Markdown</a> method of shorthand markup.</p>
</div>
On Aug 11, 4:07 pm, Carlos Killpack <
killpac...@gmail.com> wrote:
> Hmm, let me look again.. Is your HTML inside of the <form> tag with
> everything else you're submitting?
>