Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 2
- Log:
Initial import of Instiki 0.11.0 sources from a downloaded Tarball.
Instiki is a Ruby On Rails based Wiki clone.
- Author:
- adh
- Date:
- Sat Jul 22 14:54:51 +0100 2006
- Size:
- 1245 Bytes
1 | <% |
2 | @title = "Editing #{@page.name}" |
3 | @content_width = 720 |
4 | @hide_navigation = true |
5 | %> |
6 | |
7 | <div id="MarkupHelp"> |
8 | <%= render("#{@web.markup}_help") %> |
9 | <%= render 'wiki_words_help' %> |
10 | </div> |
11 | |
12 | <%= form_tag({ :action => 'save', :web => @web.address, :id => @page.name}, |
13 | {'id' => 'editForm', 'method' => 'post', 'onSubmit' => 'cleanAuthorName()'}) |
14 | %> |
15 | |
16 | <p> |
17 | <textarea name="content" id="content" style="width: 70%; height: 500px"><%= h(@flash[:content] || @page.content) %></textarea> |
18 | </p> |
19 | <p> |
20 | <input type="submit" value="Submit" accesskey="s"/> as |
21 | <%= text_field_tag :author, @author, |
22 | :onfocus => "this.value == 'AnonymousCoward' ? this.value = '' : true;", |
23 | :onblur => "this.value == '' ? this.value = 'AnonymousCoward' : true" %> |
24 | | |
25 | <%= link_to('Cancel', {:web => @web.address, :action => 'cancel_edit', :id => @page.name}, |
26 | {:accesskey => 'c'}) |
27 | %> |
28 | <small>(unlocks page)</small> |
29 | </p> |
30 | <%= end_form_tag %> |
31 | |
32 | <script language="JavaScript1.2"> |
33 | function cleanAuthorName() { |
34 | if (document.getElementById('authorName').value == "") { |
35 | document.getElementById('authorName').value = 'AnonymousCoward'; |
36 | } |
37 | } |
38 | document.forms["editForm"].elements["content"].focus(); |
39 | </script> |