##// END OF EJS Templates
Rails3: model: user: use ::Query instead of Query...
Rails3: model: user: use ::Query instead of Query Test fails on Rails 3.0. <pre> Error: test_destroy_should_update_wiki_contents(UserTest): NoMethodError: undefined method `delete_all' for ActiveRecord::AttributeMethods::Query:Module app/models/user.rb:602:in `remove_references_before_destroy' test/unit/user_test.rb:298:in `test_destroy_should_update_wiki_contents' </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8140 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6563:c1cf595139e2
r8020:312ffe43c7ef
Show More
copy.html.erb
40 lines | 1.8 KiB | text/plain | TextLexer
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 <%= render :partial => 'action_menu' %>
<h2><%=l(:label_workflow)%></h2>
<% form_tag({}, :id => 'workflow_copy_form') do %>
Jean-Philippe Lang
Workflow copy view clean up....
r6030 <fieldset class="tabular box">
<legend><%= l(:label_copy_source) %></legend>
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 <p>
Toshi MARUYAMA
replace tabs to spaces at app/views/workflows/copy.rhtml....
r6555 <label><%= l(:label_tracker) %></label>
Toshi MARUYAMA
remove trailing white-spaces from app/views/workflows/copy.rhtml....
r6559 <%= select_tag('source_tracker_id',
Toshi MARUYAMA
replace tabs to spaces at app/views/workflows/copy.rhtml....
r6555 "<option value=\"\">--- #{l(:actionview_instancetag_blank_option)} ---</option>" +
Toshi MARUYAMA
remove trailing white-spaces from app/views/workflows/copy.rhtml....
r6559 "<option value=\"any\">--- #{ l(:label_copy_same_as_target) } ---</option>" +
Toshi MARUYAMA
replace tabs to spaces at app/views/workflows/copy.rhtml....
r6555 options_from_collection_for_select(@trackers, 'id', 'name', @source_tracker && @source_tracker.id)) %>
Jean-Philippe Lang
Workflow copy view clean up....
r6030 </p>
<p>
Toshi MARUYAMA
replace tabs to spaces at app/views/workflows/copy.rhtml....
r6555 <label><%= l(:label_role) %></label>
<%= select_tag('source_role_id',
"<option value=\"\">--- #{l(:actionview_instancetag_blank_option)} ---</option>" +
Toshi MARUYAMA
remove trailing white-spaces from app/views/workflows/copy.rhtml....
r6559 "<option value=\"any\">--- #{ l(:label_copy_same_as_target) } ---</option>" +
Toshi MARUYAMA
replace tabs to spaces at app/views/workflows/copy.rhtml....
r6555 options_from_collection_for_select(@roles, 'id', 'name', @source_role && @source_role.id)) %>
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 </p>
Jean-Philippe Lang
Workflow copy view clean up....
r6030 </fieldset>
<fieldset class="tabular box">
<legend><%= l(:label_copy_target) %></legend>
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 <p>
Toshi MARUYAMA
replace tabs to spaces at app/views/workflows/copy.rhtml....
r6555 <label><%= l(:label_tracker) %></label>
<%= select_tag 'target_tracker_ids',
"<option value=\"\" disabled=\"disabled\">--- #{l(:actionview_instancetag_blank_option)} ---</option>" +
options_from_collection_for_select(@trackers, 'id', 'name', @target_trackers && @target_trackers.map(&:id)), :multiple => true %>
Jean-Philippe Lang
Workflow copy view clean up....
r6030 </p>
<p>
Toshi MARUYAMA
replace tabs to spaces at app/views/workflows/copy.rhtml....
r6555 <label><%= l(:label_role) %></label>
<%= select_tag 'target_role_ids',
"<option value=\"\" disabled=\"disabled\">--- #{l(:actionview_instancetag_blank_option)} ---</option>" +
options_from_collection_for_select(@roles, 'id', 'name', @target_roles && @target_roles.map(&:id)), :multiple => true %>
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 </p>
Jean-Philippe Lang
Workflow copy view clean up....
r6030 </fieldset>
Jean-Philippe Lang
Adds workflow copy functionality (#1727)....
r3040 <%= submit_tag l(:button_copy) %>
<% end %>