To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 18 / 188bc41fa6930021aca0286641aecbae4edbbdb9.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (1.19 KB)
| 1 | 1296:038ba2d95de8 | Chris | <%= error_messages_for 'message' %> |
|---|---|---|---|
| 2 | <% replying ||= false %> |
||
| 3 | |||
| 4 | <div class="box"> |
||
| 5 | <!--[form:message]--> |
||
| 6 | <p><label for="message_subject"><%= l(:field_subject) %></label><br /> |
||
| 7 | <%= f.text_field :subject, :size => 120, :id => "message_subject" %> |
||
| 8 | |||
| 9 | <% unless replying %> |
||
| 10 | <% if @message.safe_attribute? 'sticky' %> |
||
| 11 | <%= f.check_box :sticky %> <%= label_tag 'message_sticky', l(:label_board_sticky) %> |
||
| 12 | <% end %> |
||
| 13 | <% if @message.safe_attribute? 'locked' %> |
||
| 14 | <%= f.check_box :locked %> <%= label_tag 'message_locked', l(:label_board_locked) %> |
||
| 15 | <% end %> |
||
| 16 | <% end %> |
||
| 17 | </p> |
||
| 18 | |||
| 19 | <% if !replying && !@message.new_record? && @message.safe_attribute?('board_id') %>
|
||
| 20 | <p><label><%= l(:label_board) %></label><br /> |
||
| 21 | <%= f.select :board_id, boards_options_for_select(@message.project.boards) %></p> |
||
| 22 | <% end %> |
||
| 23 | |||
| 24 | <p> |
||
| 25 | <%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %> |
||
| 26 | <%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %></p> |
||
| 27 | <%= wikitoolbar_for 'message_content' %> |
||
| 28 | <!--[eoform:message]--> |
||
| 29 | |||
| 30 | <p><%= l(:label_attachment_plural) %><br /> |
||
| 31 | <%= render :partial => 'attachments/form', :locals => {:container => @message} %></p>
|
||
| 32 | </div> |