Revision 1297:0a574315af3e .svn/pristine/5f
| .svn/pristine/5f/5fbae84ddde0b5d635afc3dba2982bc30a93d66e.svn-base | ||
|---|---|---|
| 1 |
<%= error_messages_for @news %> |
|
| 2 |
|
|
| 3 |
<div class="box tabular"> |
|
| 4 |
<p><%= f.text_field :title, :required => true, :size => 60 %></p> |
|
| 5 |
<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p> |
|
| 6 |
<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> |
|
| 7 |
<p id="attachments_form"><label><%= l(:label_attachment_plural) %></label><%= render :partial => 'attachments/form', :locals => {:container => @news} %></p>
|
|
| 8 |
</div> |
|
| 9 |
|
|
| 10 |
<%= wikitoolbar_for 'news_description' %> |
|
| .svn/pristine/5f/5fea3ea8f64ced7d135dd738b62ef6c27de5858b.svn-base | ||
|---|---|---|
| 1 |
<%= raw @issues.map {|issue| {
|
|
| 2 |
'id' => issue.id, |
|
| 3 |
'label' => "#{issue.tracker} ##{issue.id}: #{truncate issue.subject.to_s, :length => 60}",
|
|
| 4 |
'value' => issue.id |
|
| 5 |
} |
|
| 6 |
}.to_json |
|
| 7 |
%> |
|
Also available in: Unified diff