Fixed some labels to be more accessible.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3336 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1bc00ac022
commit
d4525828b9
|
@ -46,7 +46,7 @@ module ProjectsHelper
|
|||
options = ''
|
||||
options << "<option value=''></option>" if project.allowed_parents.include?(nil)
|
||||
options << project_tree_options_for_select(project.allowed_parents.compact, :selected => selected)
|
||||
content_tag('select', options, :name => 'project[parent_id]')
|
||||
content_tag('select', options, :name => 'project[parent_id]', :id => 'project_parent_id')
|
||||
end
|
||||
|
||||
# Renders a tree of projects as a nested set of unordered lists
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<p><%= f.text_field :name, :required => true %><br /><em><%= l(:text_caracters_maximum, 30) %></em></p>
|
||||
|
||||
<% unless @project.allowed_parents.compact.empty? %>
|
||||
<p><label><%= l(:field_parent) %></label><%= parent_project_select_tag(@project) %></p>
|
||||
<p><%= label(:project, :parent_id, l(:field_parent)) %><%= parent_project_select_tag(@project) %></p>
|
||||
<% end %>
|
||||
|
||||
<p><%= f.text_area :description, :rows => 5, :class => 'wiki-edit' %></p>
|
||||
|
|
|
@ -2,13 +2,15 @@
|
|||
:url => { :action => 'modules', :id => @project },
|
||||
:html => {:id => 'modules-form'} do |f| %>
|
||||
|
||||
<div class=box>
|
||||
<strong><%= l(:text_select_project_modules) %></strong>
|
||||
<div class="box">
|
||||
<fieldset>
|
||||
<legend><%= l(:text_select_project_modules) %></legend>
|
||||
|
||||
<% Redmine::AccessControl.available_project_modules.each do |m| %>
|
||||
<p><label><%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) -%>
|
||||
<%= l_or_humanize(m, :prefix => "project_module_") %></label></p>
|
||||
<% end %>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<p><%= check_all_links 'modules-form' %></p>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<%= error_messages_for 'repository' %>
|
||||
|
||||
<div class="box tabular">
|
||||
<p><label><%= l(:label_scm) %></label><%= scm_select_tag(@repository) %></p>
|
||||
<p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p>
|
||||
<%= repository_field_tags(f, @repository) if @repository %>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue