Chris@909: <%= error_messages_for 'relation' %> Chris@909: Chris@909:
<%= f.select :relation_type, collection_for_relation_type_select, {}, :onchange => "setPredecessorFieldsVisibility();" %> Chris@909: <%= l(:label_issue) %> #<%= f.text_field :issue_to_id, :size => 10 %> Chris@909:
Chris@909: <%= javascript_tag "observeRelatedIssueField('#{auto_complete_issues_path(:id => @issue, :project_id => @project) }')" %> Chris@909: Chris@909: <%= submit_tag l(:button_add) %> Chris@909: <%= toggle_link l(:button_cancel), 'new-relation-form'%> Chris@909: Chris@909: Chris@909: <%= javascript_tag "setPredecessorFieldsVisibility();" %>