You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2011/03/14 12:37:15 UTC

svn commit: r1081336 - /incubator/deltacloud/trunk/server/views/images/show.xml.haml

Author: mfojtik
Date: Mon Mar 14 11:37:15 2011
New Revision: 1081336

URL: http://svn.apache.org/viewvc?rev=1081336&view=rev
Log:
Added <actions> into Image XML representation to
wrap link for create_instance

Modified:
    incubator/deltacloud/trunk/server/views/images/show.xml.haml

Modified: incubator/deltacloud/trunk/server/views/images/show.xml.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/images/show.xml.haml?rev=1081336&r1=1081335&r2=1081336&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/images/show.xml.haml (original)
+++ incubator/deltacloud/trunk/server/views/images/show.xml.haml Mon Mar 14 11:37:15 2011
@@ -3,4 +3,5 @@
   - @image.attributes.select{ |attr| attr!=:id }.each do |attribute|
     - haml_tag(attribute, :<) do
       - haml_concat @image.send(attribute)
-  %link{ :rel => 'create_instance', :method => :post, :href => "#{instances_url};image_id=#{@image.id}"}
+  %actions
+    %link{ :rel => 'create_instance', :method => :post, :href => "#{instances_url};image_id=#{@image.id}"}