--- server/views/hardware_profiles/show.xml.haml | 3 +-- server/views/storage_volumes/show.xml.haml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/server/views/hardware_profiles/show.xml.haml b/server/views/hardware_profiles/show.xml.haml index b39d6f0..50f918e 100644 --- a/server/views/hardware_profiles/show.xml.haml +++ b/server/views/hardware_profiles/show.xml.haml @@ -1,7 +1,6 @@ - unless defined?(partial) !!! XML -%hardware_profile{ :href => hardware_profile_url(@profile.name) } - %id= @profile.name +%hardware_profile{ :href => hardware_profile_url(@profile.name), :id => @profile.name } - @profile.each_property do |prop| - attr = { :name => prop.name, :kind => prop.kind, :unit => prop.unit } - if prop.kind == :fixed diff --git a/server/views/storage_volumes/show.xml.haml b/server/views/storage_volumes/show.xml.haml index b6b1088..5ab6748 100644 --- a/server/views/storage_volumes/show.xml.haml +++ b/server/views/storage_volumes/show.xml.haml @@ -10,4 +10,4 @@ =@storage_volume.device %state< =@storage_volume.state - %instance{:href => @storage_volume.instance_id} + %instance{:href => @storage_volume.instance_id, :id => @storage_volume.instance_id}