From 65e37a6e83e6808256acdd922e7f15a0809687bb Mon Sep 17 00:00:00 2001
From: Alessandro Palmeira + Rafael Manzo
Date: Fri, 25 May 2012 15:46:13 -0300
Subject: [PATCH] [Mezuro] Compound metric visualization is working
---
plugins/mezuro/views/mezuro_plugin_myprofile/edit_compound_metric_configuration.html.erb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/mezuro/views/mezuro_plugin_myprofile/edit_compound_metric_configuration.html.erb b/plugins/mezuro/views/mezuro_plugin_myprofile/edit_compound_metric_configuration.html.erb
index a7186d5..c990250 100644
--- a/plugins/mezuro/views/mezuro_plugin_myprofile/edit_compound_metric_configuration.html.erb
+++ b/plugins/mezuro/views/mezuro_plugin_myprofile/edit_compound_metric_configuration.html.erb
@@ -15,7 +15,7 @@
<%= f.label :scope, "Scope:" %>
- <%= f.select :scope, [["Class", "CLASS"]], :selected => @metric.scope %>
+ <%= select_tag "metric[scope]", options_for_select([["Teste", "NIL"], ["Class", "CLASS"]], :selected => @metric.scope) %>
<%= f.label :code, "Code:" %>
--
libgit2 0.21.2