Sha256: 07242d1ca92983598ae00a9a2ca588718caf92e4204ae8c4465f81c29b843b58

Contents?: true

Size: 681 Bytes

Versions: 8

Compression:

Stored size: 681 Bytes

Contents

- in_section :events
- content_for :header do
  =render :partial=>'events/header'

.row
  .span3
    - in_sub_section :passes
    =render :partial=>'events/menu'
  .span9
    %h3="Add a Pass to #{@event.name}"

    = form_for( [@event, @events_pass_type], :html => { :class => 'form-horizontal' }) do |f|
      %fieldset
        .control-group
          = f.label :pass_type, "Pass", :class => 'control-label'
          .controls
            = f.select :pass_type, options_for_select(@pass_type_options)

      = render :partial => "form", :locals => {:f => f, :discount => @discount}
          
      .form-actions
        = f.submit "Save".html_safe, :class => 'btn btn-primary'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
artfully_ose-1.2.0 app/views/events_pass_types/new.html.haml
artfully_ose-1.2.0.beta.1 app/views/events_pass_types/new.html.haml
artfully_ose-1.2.0.alpha.2 app/views/events_pass_types/new.html.haml
artfully_ose-1.2.0.alpha.1 app/views/events_pass_types/new.html.haml
artfully_ose-1.2.0.pre.27 app/views/events_pass_types/new.html.haml
artfully_ose-1.2.0.pre.26 app/views/events_pass_types/new.html.haml
artfully_ose-1.2.0.pre.24 app/views/events_pass_types/new.html.haml
artfully_ose-1.2.0.pre.23 app/views/events_pass_types/new.html.haml