@@ -1,26 +1,26 | |||
|
1 | 1 | <%= error_messages_for 'message' %> |
|
2 | 2 | <% replying ||= false %> |
|
3 | 3 | |
|
4 | 4 | <div class="box"> |
|
5 | 5 | <!--[form:message]--> |
|
6 | 6 | <p><label><%= l(:field_subject) %></label><br /> |
|
7 | 7 | <%= f.text_field :subject, :size => 120 %> |
|
8 | 8 | |
|
9 | 9 | <% if !replying && User.current.allowed_to?(:edit_messages, @project) %> |
|
10 | 10 | <label><%= f.check_box :sticky %><%= l(:label_board_sticky) %></label> |
|
11 | 11 | <label><%= f.check_box :locked %><%= l(:label_board_locked) %></label> |
|
12 | 12 | <% end %> |
|
13 | 13 | </p> |
|
14 | 14 | |
|
15 | 15 | <% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %> |
|
16 |
|
|
|
16 | <p><label><%= l(:label_board) %></label><br /> | |
|
17 | 17 | <%= f.select :board_id, @project.boards.collect {|b| [b.name, b.id]} %></p> |
|
18 | 18 | <% end %> |
|
19 | 19 | |
|
20 | 20 | <p><%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %></p> |
|
21 | 21 | <%= wikitoolbar_for 'message_content' %> |
|
22 | 22 | <!--[eoform:message]--> |
|
23 | 23 | |
|
24 | 24 | <p><%= l(:label_attachment_plural) %><br /> |
|
25 | 25 | <%= render :partial => 'attachments/form' %></p> |
|
26 | 26 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now