_add_shortcut.rhtml
5 lines
| 382 B
| text/html+ruby
|
RhtmlLexer
|
r133 | <% if authorize_for('projects', 'add_issue') %> | ||
|
r181 | <% form_tag({ :controller => 'projects', :action => 'add_issue', :id => @project }, :method => 'get') do %> | ||
|
r133 | <%= 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();}" %> | ||
|
r181 | <% end %> | ||
|
r133 | <% end %> | ||