%applications - @applications.each do |app| %application %name= app.name %path= app.path %available= app.available - unless readonly? - app.actions.each do |action| %link(rel = "#{action[:rel]}" href = "#{action[:href]}.xml") - if app.parameters %context-parameters - app.parameters.each do |param_name| %parameter(name = "#{param_name}" value = "#{app.find_parameter(param_name)}")