|
|
|
@ -22,17 +22,6 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<% if !replying && !@message.new_record? && @message.safe_attribute?('board_id') %>
|
|
|
|
|
<p><label><%= l(:label_board) %></label><br />
|
|
|
|
|
<%# modify by nwb%>
|
|
|
|
|
<% if @message.project %>
|
|
|
|
|
<%= f.select :board_id, boards_options_for_select(@message.project.boards) %>
|
|
|
|
|
<% elsif @message.course %>
|
|
|
|
|
<%= f.select :board_id, boards_options_for_select(@message.course.boards) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</p>
|
|
|
|
|
<% end %>
|
|
|
|
|
<p><label for="message_subject"><%= l(:field_description) %><span class="required"> * </span></label>
|
|
|
|
|
<%= text_area :quote,:quote,:style => 'display:none' %>
|
|
|
|
|
</p>
|
|
|
|
|