Sha256: da46e8588ba6e525577407273badc6204b36a8ae5f83e5f7219d224a86f6c44d

Contents?: true

Size: 851 Bytes

Versions: 2

Compression:

Stored size: 851 Bytes

Contents

- breadcrumb_for_application @application, 'Add a Cartridge'
- content_for :page_title, 'Add a Cartridge'

%h1.invisible Configure New Application
= cartridge_wizard_steps_create 1

= render :partial => @cartridge_type, :locals => {:hide_link => true, :extra_info => true, :application => @application}

= semantic_form_for @cartridge, :url => application_cartridges_path(@application), :html => {:class => 'form'} do |f|
  = f.hidden_field :type, :value => @cartridge_type.type
  = f.hidden_field :name, :value => @cartridge_type.name
  = f.semantic_errors :name, :cartridge
  %p
    Do you want to add the
    %strong
      #{@cartridge_type.display_name}
    cartridge to your application?
  = f.buttons do
    = link_to "Back", application_cartridge_types_path(@application), :class => 'btn'
    = f.commit_button("Add Cartridge")
    = f.loading

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openshift-origin-console-1.3.4 app/views/cartridge_types/show.html.haml
openshift-origin-console-1.3.3 app/views/cartridge_types/show.html.haml