diff options
author | David Gageot <david@gageot.net> | 2012-07-12 10:20:54 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-07-12 11:35:01 +0200 |
commit | 2897aedce90b5031c49984838c7a288e551a7951 (patch) | |
tree | 757bb587eb6695efd308ad970a5981a6fd3bcc88 | |
parent | 98b53c69d33dac982c19b39167df08086a00d981 (diff) | |
download | sonarqube-2897aedce90b5031c49984838c7a288e551a7951.tar.gz sonarqube-2897aedce90b5031c49984838c7a288e551a7951.zip |
SONAR-3620 use text input for rule copy
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb | 2 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ <td width="1%" nowrap><%= parameter.name %>:</td> <td class="sep"> </td> <td> - <input type="text" name="rule_param[<%= u parameter.name -%>]" value="<%= h parameter.default_value -%>" /> + <%= param_value_input(parameter, "#{h parameter.default_value}", {:name => "rule_param[#{u parameter.name }]", :size => '80x10'}) -%> <span class="small"><%= parameter.description %></span> </td> </tr> 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 @@ <td width="1%" nowrap><%= parameter.name %>:</td> <td class="sep"> </td> <td> - <input type="text" name="rule_param[<%= parameter.name -%>]" value=""/> + <%= param_value_input(parameter, "", {:name => "rule_param[#{u parameter.name}]", :size => '80x10'}) -%> <span class="small"><%= parameter.description %></span> </td> </tr> |