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 @ 1591:63650ae64bf2
History | View | Annotate | Download (773 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 |
<span id="predecessor_fields" style="display:none;"> |
| 6 |
<%= l(:field_delay) %>: <%= f.text_field :delay, :size => 3 %> <%= l(:label_day_plural) %> |
| 7 |
</span>
|
| 8 |
<%= submit_tag l(:button_add) %>
|
| 9 |
<%= link_to_function l(:button_cancel), '$("#new-relation-form").hide();'%>
|
| 10 |
</p>
|
| 11 |
|
| 12 |
<%= javascript_tag "observeAutocompleteField('relation_issue_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil))}')" %>
|
| 13 |
|
| 14 |
<%= javascript_tag "setPredecessorFieldsVisibility();" %>
|