From: David Gageot Date: Thu, 12 Jul 2012 08:20:54 +0000 (+0200) Subject: SONAR-3620 use text input for rule copy X-Git-Tag: 3.2~111 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2897aedce90b5031c49984838c7a288e551a7951;p=sonarqube.git SONAR-3620 use text input for rule copy --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb index 408e3d325c6..d7170ce77b8 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb @@ -44,7 +44,7 @@ <%= parameter.name %>: - + <%= param_value_input(parameter, "#{h parameter.default_value}", {:name => "rule_param[#{u parameter.name }]", :size => '80x10'}) -%> <%= parameter.description %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb index 5eb908c96f0..1c0518d69cf 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb @@ -30,7 +30,7 @@ <%= parameter.name %>: - + <%= param_value_input(parameter, "", {:name => "rule_param[#{u parameter.name}]", :size => '80x10'}) -%> <%= parameter.description %>