app/views/wiki/new.rhtml in Pimki-1.3.092 vs app/views/wiki/new.rhtml in Pimki-1.4.092
- old
+ new
@@ -1,17 +1,22 @@
<%
@title = "Creating #{WikiWords.separate(CGI.unescape(@page_name))}"
- @content_width = 720
+ @content_width = 800
@hide_navigation = true
-%><%= sub_template "top" %>
+ @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: 450px; height: 430px"></textarea>
+ <textarea name="content" style="width: 550px; height: 430px"></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">
</p>
</form>
\ No newline at end of file