rename .rhtml to .html.erb of app/views/messages/_form.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6597 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
3206bec673
commit
225795f062
1 file changed
@@ -0,0 +1,26 @@
|
||||
<%= 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 %><%= l(:label_board_sticky) %></label>
|
||||
<label><%= f.check_box :locked %><%= l(:label_board_locked) %></label>
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %>
|
||||
<p><label><%= l(:label_board) %></label><br />
|
||||
<%= f.select :board_id, @project.boards.collect {|b| [b.name, b.id]} %></p>
|
||||
<% end %>
|
||||
|
||||
<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