annotate app/views/projects/.svn/text-base/new.html.erb.svn-base @ 350:a1e6dc0e204b
feature_123
Show Overview wiki page, if it exists, instead of (almost) entire overview page
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Thu, 31 Mar 2011 16:14:38 +0100 |
parents |
40f7cfd4df19 |
children |
af80e5618e9b |
rev |
line source |
chris@22
|
1 <h2><%=l(:label_project_new)%></h2>
|
chris@22
|
2
|
chris@22
|
3 <% labelled_tabular_form_for :project, @project, :url => { :action => "create" } do |f| %>
|
chris@22
|
4 <%= render :partial => 'form', :locals => { :f => f } %>
|
chris@22
|
5
|
chris@22
|
6 <fieldset class="box"><legend><%= l(:label_module_plural) %></legend>
|
chris@22
|
7 <% Redmine::AccessControl.available_project_modules.each do |m| %>
|
chris@22
|
8 <label class="floating">
|
chris@22
|
9 <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %>
|
chris@22
|
10 <%= l_or_humanize(m, :prefix => "project_module_") %>
|
chris@22
|
11 </label>
|
chris@22
|
12 <% end %>
|
chris@22
|
13 </fieldset>
|
chris@22
|
14
|
chris@22
|
15 <%= submit_tag l(:button_save) %>
|
chris@22
|
16 <%= javascript_tag "Form.Element.focus('project_name');" %>
|
chris@22
|
17 <% end %>
|