_form.html.erb
14 lines
| 773 B
| text/plain
|
TextLexer
|
r503 | <%= error_messages_for 'relation' %> | ||
<p><%= f.select :relation_type, collection_for_relation_type_select, {}, :onchange => "setPredecessorFieldsVisibility();" %> | ||||
|
r4388 | <%= l(:label_issue) %> #<%= f.text_field :issue_to_id, :size => 10 %> | ||
|
r503 | <span id="predecessor_fields" style="display:none;"> | ||
<%= l(:field_delay) %>: <%= f.text_field :delay, :size => 3 %> <%= l(:label_day_plural) %> | ||||
</span> | ||||
|
r736 | <%= submit_tag l(:button_add) %> | ||
|
r10253 | <%= link_to_function l(:button_cancel), '$("#new-relation-form").hide();'%> | ||
|
r736 | </p> | ||
|
r503 | |||
|
r9997 | <%= javascript_tag "observeAutocompleteField('relation_issue_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil))}')" %> | ||
|
r8446 | |||
|
r503 | <%= javascript_tag "setPredecessorFieldsVisibility();" %> | ||