Commit 75412d956b49ab702e48b86684c79e8737f3ea57

Authored by João M. M. da Silva
Committed by Diego Camarinha
1 parent d8597e21

[Mezuro] almost fixed exibition of periodicity in edit project

plugins/mezuro/views/cms/mezuro_plugin/_project_content.html.erb
... ... @@ -34,6 +34,6 @@
34 34 <%= required labelled_form_field _('Configuration'),
35 35 f.select(:configuration_name, @configuration_names.sort, {:selected => @selected}) %><br/>
36 36  
37   -<% @periodicity = (@project.nil? ? 0 : @kalibro_client.process_period(@project.name)) %>
  37 +<% @selected = (@project.nil? ? 0 : @kalibro_client.process_period(@article.title)) %>
38 38 <%= required labelled_form_field _('Periodic Avaliation'),
39   - f.select(:periodicity_in_days, MezuroPlugin::Helpers::ContentViewerHelper.create_periodicity_options ,{:selected => @periodicity}) %><br/>
  39 + f.select(:periodicity_in_days, MezuroPlugin::Helpers::ContentViewerHelper.create_periodicity_options ,{:selected => @selected}) %><br/>
... ...