Commit b1db3b99c50d637e022d0d5fcea82c9c2040de32
Committed by
Paulo Meireles
1 parent
7c453d11
Exists in
master
and in
23 other branches
[Mezuro] Removed lock to change configuration while editing a project
Showing
1 changed file
with
2 additions
and
7 deletions
Show diff stats
plugins/mezuro/views/cms/mezuro_plugin/_project_content.html.erb
@@ -38,13 +38,8 @@ | @@ -38,13 +38,8 @@ | ||
38 | 38 | ||
39 | <% @selected = (@project.nil? ? @configuration_names[0] : @project.configuration_name) %> | 39 | <% @selected = (@project.nil? ? @configuration_names[0] : @project.configuration_name) %> |
40 | 40 | ||
41 | -<% if !@project.nil? && !@article.id.nil? %> | ||
42 | - <%= required labelled_form_field _('Configuration'), | ||
43 | - f.select(:configuration_name, @configuration_names, {:selected => @selected}, :disabled => 'true') %> | ||
44 | -<% else %> | ||
45 | - <%= required labelled_form_field _('Configuration'), | ||
46 | - f.select(:configuration_name, @configuration_names, {:selected => @selected}) %><br/> | ||
47 | -<% end %> | 41 | +<%= required labelled_form_field _('Configuration'), |
42 | + f.select(:configuration_name, @configuration_names, {:selected => @selected}) %><br/> | ||
48 | 43 | ||
49 | <% selected = (@project.nil? ? 0 : @project.process_period.to_i) %> | 44 | <% selected = (@project.nil? ? 0 : @project.process_period.to_i) %> |
50 | <%= required labelled_form_field _('Periodic Avaliation'), | 45 | <%= required labelled_form_field _('Periodic Avaliation'), |