%h3 Show Templates
%hr
%ul
  - @templates.each do |tpl|
    %li
      - form_tag(:action => 'configure') do
        = hidden_field :instance, :template_id, :value => tpl.id
        = hidden_field :instance, :pool_id, :value => @instance.pool.id
        = image_tag "platform_#{tpl.platform}.png", :size => "32x32", :alt => tml.platform
        %h3= tpl.name
        %p= tpl.summary
        %p
          %label Group:
          System
          %label Version:
          2.5
        = submit_tag 'Launch', :name => 'launch'
= will_paginate(@templates)
= page_entries_info(@templates)

%h3 Show Templates
%hr
%ul
  - @templates.each do |tpl|
    %li
      - form_tag(:action => 'configure') do
        = hidden_field :instance, :template_id, :value => tpl.id
        = hidden_field :instance, :pool_id, :value => @instance.pool.id
        = image_tag "platform_#{tpl.platform}.png", :size => "32x32", :alt => tpl.platform
        %h3= tpl.name
        %p= tpl.summary
        %p
          %label Group:
          System
          %label Version:
          2.5
        = submit_tag 'Launch', :name => 'launch'
= will_paginate(@templates)
= page_entries_info(@templates)

Fix a typo in the "Remove absolute paths to graphics" commit.
Fix a typo in the "Remove absolute paths to graphics" commit.

The app/views/instance/new.haml had a typo in that it was using
tml.platform, which doesn't exist.  Make this "tpl.platform" so
this actually works.

Signed-off-by: Chris Lalancette <60b62644009db6b194cc0445b64e9b27bb26433a@redhat.com>
