Creates labels and links them to input fields

pull/790/head
Hagen Schink 11 years ago committed by Christian Ratz
parent 720c854378
commit 4c5a526b20
  1. 12
      app/views/settings/_repositories.html.erb

@ -55,8 +55,16 @@ See doc/COPYRIGHT.rdoc for more details.
<em><%= l(:text_comma_separated) %></em></p>
<p><%= setting_text_field :commit_fix_keywords, :size => 30 %>
&nbsp;<%= l(:label_applied_status) %>: <%= setting_select :commit_fix_status_id, [["", 0]] + Status.find(:all).collect{|status| [status.name, status.id.to_s]}, :label => false %>
&nbsp;<%= WorkPackage.human_attribute_name(:done_ratio) %>: <%= setting_select :commit_fix_done_ratio, (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, :blank => :label_no_change_option, :label => false %>
<span>
<label style="float:none; margin-left:0px; display: inline;">
<%= l(:label_applied_status) %>:
<%= setting_select :commit_fix_status_id, [["", 0]] + Status.find(:all).collect{|status| [status.name, status.id.to_s]}, :label => false %>
</label>
<label style="float:none; margin-left:0px; display: inline;">
<%= WorkPackage.human_attribute_name(:done_ratio) %>:
<%= setting_select :commit_fix_done_ratio, (0..10).to_a.collect {|r| ["#{r*10} %", "#{r*10}"] }, :blank => :label_no_change_option, :label => false %>
</label>
</span>
<br /><em><%= l(:text_comma_separated) %></em></p>
<p><%= setting_check_box :commit_logtime_enabled,

Loading…
Cancel
Save