"Fossies" - the Fresh Open Source Software Archive

Member "PURELIB/trac/wiki/templates/wiki_edit_comment.html" (27 Aug 2019, 2075 Bytes) of package /windows/misc/Trac-1.4.win32.exe:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {# Copyright (C) 2016 Edgewall Software
    2 
    3   This software is licensed as described in the file COPYING, which
    4   you should have received as part of this distribution. The terms
    5   are also available at https://trac.edgewall.org/wiki/TracLicense.
    6 
    7   This software consists of voluntary contributions made by many
    8   individuals. For the exact contribution history, see the revision
    9   history and logs, available at https://trac.edgewall.org/.
   10 #}
   11 
   12 # extends 'layout.html'
   13 
   14 <!DOCTYPE html>
   15 <html>
   16 
   17   <head>
   18     <title>
   19       # block title
   20       ${title}
   21       ${ super() }
   22       # endblock title
   23     </title>
   24   </head>
   25 
   26   <body>
   27     # block content
   28     <div id="content" class="wiki">
   29       # with current_href = href.wiki(page.name)
   30       <h1>
   31         # set name
   32         <a href="${current_href}">${page.name}</a>
   33         # endset
   34         # trans version = page.version, name
   35 
   36         Edit comment for version ${version} of ${name}
   37 
   38         # endtrans
   39       </h1>
   40       <form id="edit-comment-form" action="${current_href}" method="post">
   41         ${jmacros.form_token_input()}
   42         <p>
   43           ${_("Old comment:")}
   44           ${wiki_to_oneliner(context, page.comment or '--')}
   45         </p>
   46         <div class="field">
   47           <label>${_("New comment:")}
   48             <input type="hidden" name="action" value="edit_comment" />
   49             <input type="text" class="trac-autofocus wikitext"
   50                    name="new_comment" size="40"
   51                    value="${page.comment}" />
   52           </label>
   53         </div>
   54         <div class="buttons">
   55           <input type="hidden" name="redirect_to" value="${redirect_to}" />
   56           <input type="hidden" name="version" value="${page.version}" />
   57           <input type="submit" name="submit" class="trac-disable-on-submit"
   58                  value="${_('Submit changes')}" />
   59           <input type="submit" name="cancel" value="${_('Cancel')}" />
   60         </div>
   61       </form>
   62       # endwith
   63     </div>
   64     ${ super() }
   65     # endblock content
   66   </body>
   67 </html>