##// END OF EJS Templates
Replaces acts_as_list with an implementation that handles #position= (#12909)....
Replaces acts_as_list with an implementation that handles #position= (#12909). Objects are reordered using the regular attribute writer #position= and AR callbacks. git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r12335:7a4e325b36c9
r14953:64afa24a7f72
Show More
_projects.html.erb
20 lines | 806 B | text/plain | TextLexer
<%= form_tag({:action => 'edit', :tab => 'projects'}) do %>
<div class="box tabular settings">
<p><%= setting_check_box :default_projects_public %></p>
<p><%= setting_multiselect(:default_projects_modules,
Redmine::AccessControl.available_project_modules.collect {|m| [l_or_humanize(m, :prefix => "project_module_"), m.to_s]}) %></p>
<p><%= setting_multiselect(:default_projects_tracker_ids,
Tracker.sorted.collect {|t| [t.name, t.id.to_s]}) %></p>
<p><%= setting_check_box :sequential_project_identifiers %></p>
<p><%= setting_select :new_project_user_role_id,
Role.find_all_givable.collect {|r| [r.name, r.id.to_s]},
:blank => "--- #{l(:actionview_instancetag_blank_option)} ---" %></p>
</div>
<%= submit_tag l(:button_save) %>
<% end %>