]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3432 Larger string field
authorDavid Gageot <david@gageot.net>
Fri, 6 Jul 2012 12:20:47 +0000 (14:20 +0200)
committerDavid Gageot <david@gageot.net>
Fri, 6 Jul 2012 12:20:47 +0000 (14:20 +0200)
sonar-server/src/main/webapp/WEB-INF/app/helpers/properties_helper.rb

index 3d0e468e4626561764a0bb9e0c98048eb9f0fc20..999d06c0f7aebffe77671b458acb433df590d9f2 100644 (file)
@@ -30,7 +30,7 @@ module PropertiesHelper
       text_field_tag key, value, {:size => 10}.update(options)
 
     elsif type==PropertyType::TYPE_STRING
-      text_field_tag key, value, {:size => 10}.update(options)
+      text_field_tag key, value, {:size => 25}.update(options)
 
     elsif type==PropertyType::TYPE_METRIC
       select_tag key, options_grouped_by_domain(Metric.all.select{|m| m.display?}.sort_by(&:short_name), value, :include_empty => true), options
@@ -48,7 +48,7 @@ module PropertiesHelper
       text_area_tag key, value, {:size => '40x6'}.update(options)
 
     elsif type==PropertyType::TYPE_PASSWORD
-      password_field_tag key, value, {:size => 10}.update(options)
+      password_field_tag key, value, {:size => 25}.update(options)
 
     else
       hidden_field_tag key, options