Sha256: b6e2dddb4cddd430226df6b4a475a7c1f3349c2cfaa668836c00caf12a5d7611
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
<% @title = "Creating #{WikiWords.separate(CGI.unescape(@page_name))}" @content_width = 800 @hide_navigation = true @hide_menu = true @style_additions = "#Container, #Content {padding-left:100px;}" %> <%= sub_template "top" %> <%= render_markup_help %> <form action="../save/<%= @page_name %>" method="post" onSubmit="cleanAuthorName();"> <p> <textarea name="content" style="width: 550px; height: 75%"></textarea> </p> <p> <% if @web.check_pass_on_edit %> Please enter edit password: <input type="password" name="password" id="password"><br /> <% end %> <input type="submit" value="Create"> as <input type="text" name="author" id="authorName" value="<%= @author %>" onClick="this.value == 'AnonymousCoward' ? this.value = '' : true"> | <a href='../list/'>Cancel</a> </p> </form> <script language="JavaScript1.2"> function cleanAuthorName() { if (document.getElementById('authorName').value == "") { document.getElementById('authorName').value = 'AnonymousCoward'; } } </script> <%= sub_template "bottom" %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Pimki-1.8.092 | app/views/wiki/new.rhtml |