blob: 0deb638c44fa49cf91ee425d20139dc4184b23a4 [file] [log] [blame]
%h1 Attach storage volume
%form{ :action => url_for("storage_volumes/#{params[:id]}/attach"), :method => :post }
%p
%label
Instance ID:
- if instances.empty?
%select
%option There are no instances
- else
%select{ :name => 'instance_id' }
- instances.each do |i|
%option{ :value => "#{i.id}"} #{i.name}
%p
%label
Device name:
%input{ :name => "device", :size => 10, :value => "/dev/sdc"}
%p
%input{ :type => :submit, :name => "commit", :value => "attach" }/