User groups branch added.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1372 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<%= error_messages_for 'message' %>
|
||||
<% replying ||= false %>
|
||||
|
||||
<div class="box">
|
||||
<!--[form:message]-->
|
||||
<p><label><%= l(:field_subject) %></label><br />
|
||||
<%= f.text_field :subject, :size => 120 %>
|
||||
|
||||
<% if !replying && User.current.allowed_to?(:edit_messages, @project) %>
|
||||
<label><%= f.check_box :sticky %> Sticky</label>
|
||||
<label><%= f.check_box :locked %> Locked</label>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<p><%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %></p>
|
||||
<%= wikitoolbar_for 'message_content' %>
|
||||
<!--[eoform:message]-->
|
||||
|
||||
<p><%= l(:label_attachment_plural) %><br />
|
||||
<%= render :partial => 'attachments/form' %></p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user