r9455 - apps/gobi/trunk/code/Page/skins

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <[email protected]>
Author: hannes
Date: 2008-12-19 16:25:45 +0100 (Fri, 19 Dec 2008)
New Revision: 9455

Modified:
   apps/gobi/trunk/code/Page/skins/create.skin
   apps/gobi/trunk/code/Page/skins/edit.skin
Log:
Add cancel link to create-page and edit-page forms.

Details at http://dev.helma.org/trac/helma/changeset/9455

Modified: apps/gobi/trunk/code/Page/skins/create.skin
===================================================================
--- apps/gobi/trunk/code/Page/skins/create.skin	2008-12-19 15:23:14 UTC (rev 9454)
+++ apps/gobi/trunk/code/Page/skins/create.skin	2008-12-19 15:25:45 UTC (rev 9455)
@@ -22,10 +22,12 @@
 <p style="clear: both;">Body<br />
 <% this.textArea name="body" rows="18" class="horizontalFill" %></p>
 
-<p> <input type="submit" name="preview"
+<p>
+    <input type="submit" name="preview"
           value="<% msg name='preview_button' %>">
-
     <input type="submit" name="save"
           value="<% msg name='create_button' %>">
+    <a href="<% page.href %>" class="commentLink">
+          <% msg name='cancel' %></a>
 </p>
 </form>
\ No newline at end of file

Modified: apps/gobi/trunk/code/Page/skins/edit.skin
===================================================================
--- apps/gobi/trunk/code/Page/skins/edit.skin	2008-12-19 15:23:14 UTC (rev 9454)
+++ apps/gobi/trunk/code/Page/skins/edit.skin	2008-12-19 15:25:45 UTC (rev 9455)
@@ -16,5 +16,8 @@
           value="<% msg name='preview_button' %>">
     <input type="submit" name="save"
           value="<% msg name='edit_button' %>">
+    <a href="<% page.href %>" class="commentLink">
+          <% msg name='cancel' %></a>
+
 </p>
 </form>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.