##// END OF EJS Templates
Added the ability to destroy wiki pages (content and its history are deleted from the database)....
Added the ability to destroy wiki pages (content and its history are deleted from the database). This permission has to be explicitly given (Roles & Permissions -> Wiki pages/Delete). git-svn-id: http://redmine.rubyforge.org/svn/trunk@540 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r526:b90e84b9fe25
r537:6446c312beab
Show More
_form.rhtml
17 lines | 671 B | text/html+ruby | RhtmlLexer
<%= error_messages_for 'message' %>
<div class="box">
<!--[form:message]-->
<p><label><%= l(:field_subject) %></label><br />
<%= f.text_field :subject, :required => true, :size => 80 %></p>
<p><%= f.text_area :content, :required => true, :cols => 80, :rows => 15 %></p>
<%= wikitoolbar_for 'message_content' %>
<!--[eoform:message]-->
<span class="tabular">
<p id="attachments_p"><label><%=l(:label_attachment)%>
<%= image_to_function "add.png", "addFileField();return false" %></label>
<%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>
</span>
</div>