To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / issue_relations / _form.rhtml @ 441:cbce1fd3b1b7
History | View | Annotate | Download (724 Bytes)
| 1 |
<%= error_messages_for 'relation' %>
|
|---|---|
| 2 |
|
| 3 |
<p><%= f.select :relation_type, collection_for_relation_type_select, {}, :onchange => "setPredecessorFieldsVisibility();" %> |
| 4 |
<%= l(:label_issue) %> #<%= f.text_field :issue_to_id, :size => 10 %> |
| 5 |
<div id="related_issue_candidates" class="autocomplete"></div> |
| 6 |
<%= javascript_tag "observeRelatedIssueField('#{auto_complete_issues_path(:id => @issue, :project_id => @project) }')" %>
|
| 7 |
<span id="predecessor_fields" style="display:none;"> |
| 8 |
<%= l(:field_delay) %>: <%= f.text_field :delay, :size => 3 %> <%= l(:label_day_plural) %> |
| 9 |
</span>
|
| 10 |
<%= submit_tag l(:button_add) %>
|
| 11 |
<%= toggle_link l(:button_cancel), 'new-relation-form'%>
|
| 12 |
</p>
|
| 13 |
|
| 14 |
<%= javascript_tag "setPredecessorFieldsVisibility();" %>
|