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.html.erb @ 912:5e80956cc792
History | View | Annotate | Download (724 Bytes)
| 1 | 0:513646585e45 | Chris | <%= error_messages_for 'relation' %>
|
|---|---|---|---|
| 2 | |||
| 3 | <p><%= f.select :relation_type, collection_for_relation_type_select, {}, :onchange => "setPredecessorFieldsVisibility();" %> |
||
| 4 | 119:8661b858af72 | Chris | <%= 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 | 0:513646585e45 | Chris | <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();" %> |