Skip to content

Instantly share code, notes, and snippets.

Created February 22, 2009 22:20
Show Gist options
  • Save anonymous/68641 to your computer and use it in GitHub Desktop.
Save anonymous/68641 to your computer and use it in GitHub Desktop.
<!-- start content -->
<div id="content_confess">
<div class="post">
<h2 class="title">Confess your story to us</h2>
<div class="entry"> {exp:weblog:entry_form weblog="default_site" return="site/index" preview="site/entry"}
<table width="100%" border="0">
<tr>
<td width="22%">Title:</td>
<td width="78%"><label>
<input type="text" name="title" id="title" value="{title}" />
</label></td>
</tr>
{custom_fields}
<tr>
<td width="22%">{field_label}</td>
<td width="78%"><label> {if textinput}
<input type="text" dir="{text_direction}" id="{field_name}" name="{field_name}" value="{field_data}" maxlength="{maxlength}"/>
{/if}
{if textarea}
<textarea id="{field_name}" name="{field_name}" dir="{text_direction}" cols="45" rows="5" onclick="setFieldName(this.name)">{field_data}</textarea>
{/if} </label></td>
</tr>
{/custom_fields}
<tr>
<td>&nbsp;</td>
<td><a href="{upload_url}" onclick="window.open(this.href, '_blank', 'width=400,height=600');return false;" onkeypress="this.onclick()">Attach a file</a></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" id="x" value="Submit" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
{/exp:weblog:entry_form}
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</div>
</div>
</div>
<!-- end content -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment