2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_project_new)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<% labelled_tabular_form_for :project, @project, :url => { :action => "add" } do |f| %>
|
|
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
2007-09-14 15:34:08 +04:00
|
|
|
|
2007-11-20 23:29:03 +03:00
|
|
|
<fieldset class="box"><legend><%= l(:label_module_plural) %></legend>
|
2007-09-14 15:34:08 +04:00
|
|
|
<% Redmine::AccessControl.available_project_modules.each do |m| %>
|
2007-11-20 23:29:03 +03:00
|
|
|
<label class="floating">
|
2008-03-07 20:04:16 +03:00
|
|
|
<%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %>
|
2009-02-21 14:04:50 +03:00
|
|
|
<%= l_or_humanize(m, :prefix => "project_module_") %>
|
2007-11-20 23:29:03 +03:00
|
|
|
</label>
|
|
|
|
<% end %>
|
|
|
|
</fieldset>
|
2007-09-14 15:34:08 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<%= submit_tag l(:button_save) %>
|
2009-01-22 19:34:54 +03:00
|
|
|
<%= javascript_tag "Form.Element.focus('project_name');" %>
|
2007-09-14 15:34:08 +04:00
|
|
|
<% end %>
|