2007-01-02 12:58:07 +03:00
|
|
|
<% if authorize_for('projects', 'add_issue') %>
|
2007-01-26 22:56:25 +03:00
|
|
|
<% form_tag({ :controller => 'projects', :action => 'add_issue', :id => @project }, :method => 'get') do %>
|
2007-01-02 12:58:07 +03:00
|
|
|
<%= 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();}" %>
|
2007-01-26 22:56:25 +03:00
|
|
|
<% end %>
|
2007-01-02 12:58:07 +03:00
|
|
|
<% end %>
|