Project

General

Profile

« Previous | Next » 

Revision 47b357e7

Added by Ohad Levy almost 12 years ago

  • ID 47b357e7b925942f746793e9f59339142139690a

[ec2] added the ability to create multiple security groups

View differences:

app/views/compute_resources_vms/form/_ec2.html.erb
-%>
<div id='image_selection'><%= select_f f, :image_id, images, :uuid, :name,{:include_blank => (images.empty? || images.size == 1) ? false : 'Please Select an Image'}, {:disabled => images.empty? } %></div>
<%= selectable_f f, :groups, compute_resource.security_groups, {}, :label => "Security Group" %>
<%= selectable_f f, :groups, compute_resource.security_groups, {}, { :multiple => true, :label => "Security Groups" } %>
<%= selectable_f f, :availability_zone, compute_resource.zones, {:include_blank => "No Preference"} %>

Also available in: Unified diff