- 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
This commit is contained in:
parent
eee0bf7f5d
commit
0ff833ada3
2 changed files with 5 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
|||
<form method="post" action="<% response.action %>">
|
||||
<input type="hidden" name="proto" value="<% request.proto %>" />
|
||||
<input type="hidden" name="name" value="<% request.name %>" />
|
||||
<% this.skin as="editor" width="50" height="25" wrap="virtual" style="formWide" %>
|
||||
<% this.skin as="editor" cols="50" rows="25" wrap="virtual" class="formWide" %>
|
||||
|
||||
<p><% input type="button" name="save" value="Save" %> <% input type="button" name="cancel" value="Cancel" %> <a href="#help">help</a></p>
|
||||
<p><% input type="submit" name="save" value="Save" %> <% input type="submit" name="cancel" value="Cancel" %> <a href="#help">help</a></p>
|
||||
</form>
|
||||
|
||||
<a name="help"></a>
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<table border="0" cellspacing="0" cellpadding="3">
|
||||
<tr>
|
||||
<td nowrap="nowrap"><span class="small">Title:</span><br />
|
||||
<% story.content part="title" as="editor" width="24" style="formTitle" %></td>
|
||||
<% 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" width="30" height="15" style="formText" %></td>
|
||||
<% story.content part="text" as="editor" cols="30" rows="15" class="formText" %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><fieldset><legend class="small">Options</legend>
|
||||
|
@ -31,7 +31,7 @@ Add this story to a topic<br />
|
|||
<td class="small"><% story.creator as="link" prefix="Created by " %><% story.modifier as="link" prefix=", last modified by " %><% story.modifytime format="short" prefix=" on " %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td nowrap="nowrap"><br /><% input type="button" name="publish" value="Publish" %> <% input type="button" name="save" value="Save offline" %> <% input type="button" name="cancel" value="Cancel" %></td>
|
||||
<td nowrap="nowrap"><br /><% input type="submit" name="publish" value="Publish" %> <% input type="submit" name="save" value="Save offline" %> <% input type="submit" name="cancel" value="Cancel" %></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Reference in a new issue