summaryrefslogtreecommitdiffstats
path: root/app/views/projects/add.rhtml
blob: e3ee0b591d917449ded4a837bb2fa4e7f3ae7e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h2><%=l(:label_project_new)%></h2>

<% labelled_tabular_form_for :project, @project, :url => { :action => "add" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>

<fieldset class="box"><legend><%= l(:label_module_plural) %></legend>
<% Redmine::AccessControl.available_project_modules.each do |m| %>
    <label class="floating">
    <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %> <%= m.to_s.humanize %>
    </label>
<% end %>
</fieldset>

<%= submit_tag l(:button_save) %>
<% end %>