Skip to content

Commit

Permalink
Make any the default value when targeting versions on baselines creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nfecastro committed Aug 4, 2014
1 parent fa8fe4b commit 43ca2d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/baselines/_form.html.erb
Expand Up @@ -20,8 +20,8 @@
<p>
<%= label_tag "Target Version"%>
<%# check_box_tag :enable_taget_versions, :true, false, disabled: disabled %>
<%= select_tag :operator_target_versions, options_for_select(["is", "is not", "none", "any"]), hidden: disabled %>
<%= select_tag :selected_target_versions, options_from_collection_for_select(project.versions, :id, :name, @baseline.get_targeted_versions ), multiple: true, disabled: disabled %>
<%= select_tag :operator_target_versions, options_for_select(["any", "is", "is not", "none"]), hidden: disabled %>
<%= select_tag :selected_target_versions, options_from_collection_for_select(project.versions, :id, :name, @baseline.get_targeted_versions ), multiple: true, disabled: disabled, hidden: true %>
</p>
<p>
<label> <%=l(:label_update_estimated_hours)%> </label>
Expand Down

0 comments on commit 43ca2d1

Please sign in to comment.