@@ -46,7 +46,7 module ProjectsHelper | |||
|
46 | 46 | options = '' |
|
47 | 47 | options << "<option value=''></option>" if project.allowed_parents.include?(nil) |
|
48 | 48 | options << project_tree_options_for_select(project.allowed_parents.compact, :selected => selected) |
|
49 | content_tag('select', options, :name => 'project[parent_id]') | |
|
49 | content_tag('select', options, :name => 'project[parent_id]', :id => 'project_parent_id') | |
|
50 | 50 | end |
|
51 | 51 | |
|
52 | 52 | # Renders a tree of projects as a nested set of unordered lists |
@@ -5,7 +5,7 | |||
|
5 | 5 | <p><%= f.text_field :name, :required => true %><br /><em><%= l(:text_caracters_maximum, 30) %></em></p> |
|
6 | 6 | |
|
7 | 7 | <% unless @project.allowed_parents.compact.empty? %> |
|
8 |
<p><label |
|
|
8 | <p><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %></p> | |
|
9 | 9 | <% end %> |
|
10 | 10 | |
|
11 | 11 | <p><%= f.text_area :description, :rows => 5, :class => 'wiki-edit' %></p> |
@@ -2,13 +2,15 | |||
|
2 | 2 | :url => { :action => 'modules', :id => @project }, |
|
3 | 3 | :html => {:id => 'modules-form'} do |f| %> |
|
4 | 4 | |
|
5 | <div class=box> | |
|
6 | <strong><%= l(:text_select_project_modules) %></strong> | |
|
5 | <div class="box"> | |
|
6 | <fieldset> | |
|
7 | <legend><%= l(:text_select_project_modules) %></legend> | |
|
7 | 8 | |
|
8 | 9 | <% Redmine::AccessControl.available_project_modules.each do |m| %> |
|
9 | 10 | <p><label><%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) -%> |
|
10 | 11 | <%= l_or_humanize(m, :prefix => "project_module_") %></label></p> |
|
11 | 12 | <% end %> |
|
13 | </fieldset> | |
|
12 | 14 | </div> |
|
13 | 15 | |
|
14 | 16 | <p><%= check_all_links 'modules-form' %></p> |
@@ -6,7 +6,7 | |||
|
6 | 6 | <%= error_messages_for 'repository' %> |
|
7 | 7 | |
|
8 | 8 | <div class="box tabular"> |
|
9 |
<p> |
|
|
9 | <p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p> | |
|
10 | 10 | <%= repository_field_tags(f, @repository) if @repository %> |
|
11 | 11 | </div> |
|
12 | 12 |
General Comments 0
You need to be logged in to leave comments.
Login now