Sha256: d7714bbd8450498cc682efea5ea8c146f6700e426df37a949e66b13c948992f8

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

%h1 Attach storage volume

%form{ :action => attach_storage_volume_url(params[:id]), :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" }/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deltacloud-core-1.0.1 views/storage_volumes/attach.html.haml
deltacloud-core-1.0.0 views/storage_volumes/attach.html.haml