antville/code/Story/edit.skin
Robert Gaggl 0ff833ada3 - changed from input type="button" to type="submit"
- changed attribute names to html-conform ones (with -> cols, height -> rows)
- now using attribute "class" instead of attribute style where it defines a css class
2003-08-02 10:42:16 +00:00

37 lines
1.6 KiB
Text

<form method="post" action="<% response.action %>">
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td nowrap="nowrap"><span class="small">Title:</span><br />
<% story.content part="title" as="editor" size="24" class="formTitle" %></td>
</tr>
<tr>
<td nowrap="nowrap"><span class="small">Text:</span><br />
<% story.content part="text" as="editor" cols="30" rows="15" class="formText" %></td>
</tr>
<tr>
<td><fieldset><legend class="small">Options</legend>
<p><% story.addtofront as="editor" checked="checked" %>&nbsp;Show this story on the front page</p>
Add this story to a topic<br />
<table style="margin-left:15px;">
<tr>
<td width="48%" class="small">Choose a topic...<br />
<% story.topicchooser %></td>
<td valign="top" width="4%">&nbsp;</td>
<td valign="top" width="48%" class="small">...or enter a new one<br />
<input type="text" name="topic" value="<% request.topic %>" /></td>
</tr>
</table>
<p>This story is editable by<br />
<span class="small"><% story.editableby as="editor" %></span></p>
<% story.discussions as="editor" checked="checked" prefix="<p>" suffix="&nbsp;Allow comments</p>" %></fieldset></td>
</tr>
<tr>
<td class="small"><% story.creator as="link" prefix="Created by " %><% story.modifier as="link" prefix=", last modified&nbsp;by&nbsp;" %><% story.modifytime format="short" prefix="&nbsp;on&nbsp;" %></td>
</tr>
<tr>
<td nowrap="nowrap"><br /><% input type="submit" name="publish" value="Publish" %>&nbsp;<% input type="submit" name="save" value="Save offline" %>&nbsp;<% input type="submit" name="cancel" value="Cancel" %></td>
</tr>
</table>
</form>