6 lines
396 B
Plaintext
6 lines
396 B
Plaintext
<% if authorize_for('projects', 'add_issue') %>
|
|
<%= start_form_tag({ :controller => 'projects', :action => 'add_issue', :id => @project }, :method => 'get') %>
|
|
<%= l(:label_issue_new) %>: <%= select_tag 'tracker_id', ("<option></option>" + options_from_collection_for_select(trackers, 'id', 'name')), :onchange => "if (this.value!='') {this.form.submit();}" %>
|
|
<%= end_form_tag %>
|
|
<% end %>
|