%h1 Attach storage volume
%form{ :action => url_for(“storage_volumes/#{params}/attach”), :method => :post }
% %abel Instance ID: - if instances.empty? %slect %ption There are no instances - else %slect{ :name => 'instance_id' } - instances.each do |i| %ption{ :value => "#{i.id}"} #{i.name} % %abel Device name: %nput{ :name => "device", :size => 10, :value => "/dev/sdc"} % %nput{ :type => :submit, :name => "commit", :value => "attach" }/