Commit 75412d956b49ab702e48b86684c79e8737f3ea57
Committed by
Diego Camarinha
1 parent
d8597e21
Exists in
master
and in
28 other branches
[Mezuro] almost fixed exibition of periodicity in edit project
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
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/> | ... | ... |