Mercurial > hg > soundsoftware-site
annotate .svn/pristine/48/48b4396c87b793f88c5ab4bc586ea45f81977244.svn-base @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <%= error_messages_for 'message' %> |
Chris@909 | 2 <% replying ||= false %> |
Chris@909 | 3 |
Chris@909 | 4 <div class="box"> |
Chris@909 | 5 <!--[form:message]--> |
Chris@909 | 6 <p><label for="message_subject"><%= l(:field_subject) %></label><br /> |
Chris@909 | 7 <%= f.text_field :subject, :size => 120, :id => "message_subject" %> |
Chris@909 | 8 |
Chris@909 | 9 <% if !replying && User.current.allowed_to?(:edit_messages, @project) %> |
Chris@909 | 10 <label><%= f.check_box :sticky %><%= l(:label_board_sticky) %></label> |
Chris@909 | 11 <label><%= f.check_box :locked %><%= l(:label_board_locked) %></label> |
Chris@909 | 12 <% end %> |
Chris@909 | 13 </p> |
Chris@909 | 14 |
Chris@909 | 15 <% if !replying && !@message.new_record? && User.current.allowed_to?(:edit_messages, @project) %> |
Chris@909 | 16 <p><label><%= l(:label_board) %></label><br /> |
Chris@909 | 17 <%= f.select :board_id, @project.boards.collect {|b| [b.name, b.id]} %></p> |
Chris@909 | 18 <% end %> |
Chris@909 | 19 |
Chris@909 | 20 <p> |
Chris@909 | 21 <%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %> |
Chris@909 | 22 <%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %></p> |
Chris@909 | 23 <%= wikitoolbar_for 'message_content' %> |
Chris@909 | 24 <!--[eoform:message]--> |
Chris@909 | 25 |
Chris@909 | 26 <p><%= l(:label_attachment_plural) %><br /> |
Chris@909 | 27 <%= render :partial => 'attachments/form' %></p> |
Chris@909 | 28 </div> |