Sha256: 043e7bc50cbaa37620dbe319ff61968fe113a3df570798643081e05e2821efe2

Contents?: true

Size: 1.56 KB

Versions: 7

Compression:

Stored size: 1.56 KB

Contents

=form_for @membership_type, :html => { :class => 'form-horizontal' } do |f|
  %fieldset
    .control-group
      = f.label :name, "Name", :class => 'control-label'
      .controls
        = f.text_field :name, :class => 'input'
    .control-group
      = f.label :description, "Description", :class => 'control-label'
      .controls
        = f.text_area :description
    .control-group
      = f.label :plan, "Plan", :class => 'control-label'
      .controls
        = f.select :plan, ["All In One", "Pay As You Go"]
    .control-group
      = f.label :price, "Price", :class => 'control-label'
      .controls
        = f.text_field :price, :class => 'input-small section-price currency'
    .control-group
      = f.label :fee, "Member Fee", :class => 'control-label'
      .controls
        = f.text_field :fee, :class => 'input-small section-price currency'
    .control-group
      = f.label :number_of_shows, "Number of Shows", :class => 'control-label'
      .controls
        = f.text_field :number_of_shows
    .control-group
      = f.label :starts_at, "Mebership Begins", :class => 'control-label'
      .controls
        = f.text_field :starts_at, :class => :datepicker
    .control-group
      = f.label :ends_at, "Membership Ends", :class => 'control-label'
      .controls
        = f.text_field :ends_at, :class => :datepicker
    .control-group
      = f.label :on_sale, "On Sale", :class => 'control-label checkbox' 
      .controls 
        = f.check_box :on_sale
    .form-actions
      =f.submit "Save", :class => "btn btn-primary"
      =link_to "Cancel", "", :class => "btn"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.6 app/views/membership_types/_form.html.haml
artfully_ose-1.2.0.pre.5 app/views/membership_types/_form.html.haml
artfully_ose-1.2.0.pre.4 app/views/membership_types/_form.html.haml
artfully_ose-1.2.0.pre.3 app/views/membership_types/_form.html.haml
artfully_ose-1.2.0.pre.2 app/views/membership_types/_form.html.haml
artfully_ose-1.2.0.pre.1 app/views/membership_types/_form.html.haml
artfully_ose-1.2.0.pre app/views/membership_types/_form.html.haml