Mercurial > hg > soundsoftware-site
comparison app/views/issues/.svn/text-base/_form.rhtml.svn-base @ 22:40f7cfd4df19
* Update to SVN trunk rev 4173
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 24 Sep 2010 14:06:04 +0100 |
parents | 1d32c0a0efbf |
children | 94944d00e43c |
comparison
equal
deleted
inserted
replaced
14:1d32c0a0efbf | 22:40f7cfd4df19 |
---|---|
1 <%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %> | |
2 | |
1 <div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>> | 3 <div id="issue_descr_fields" <%= 'style="display:none"' unless @issue.new_record? || @issue.errors.any? %>> |
2 <p><%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %></p> | 4 <p><%= f.select :tracker_id, @project.trackers.collect {|t| [t.name, t.id]}, :required => true %></p> |
3 <%= observe_field :issue_tracker_id, :url => { :action => :new, :project_id => @project, :id => @issue }, | 5 <%= observe_field :issue_tracker_id, :url => { :action => :new, :project_id => @project, :id => @issue }, |
4 :update => :attributes, | 6 :update => :attributes, |
5 :with => "Form.serialize('issue-form')" %> | 7 :with => "Form.serialize('issue-form')" %> |
18 :accesskey => accesskey(:edit), | 20 :accesskey => accesskey(:edit), |
19 :class => 'wiki-edit' %></p> | 21 :class => 'wiki-edit' %></p> |
20 </div> | 22 </div> |
21 | 23 |
22 <div id="attributes" class="attributes"> | 24 <div id="attributes" class="attributes"> |
23 <%= render :partial => 'attributes' %> | 25 <%= render :partial => 'issues/attributes' %> |
24 </div> | 26 </div> |
25 | 27 |
26 <% if @issue.new_record? %> | 28 <% if @issue.new_record? %> |
27 <p><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p> | 29 <p><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p> |
28 <% end %> | 30 <% end %> |