Sha256: ae7cfb562911ad6a7b9638ce82db92fc0f5b5bca3b2c8aee3ea3558b5a947751

Contents?: true

Size: 752 Bytes

Versions: 8

Compression:

Stored size: 752 Bytes

Contents

.field
  = f.label :name, nil, :class => :req
  = f.text_field :name

.field.tinymce
  = f.label :template
  = f.text_area :template

.field
  = f.label :custom_form_html
  = f.text_area :custom_form_html

- if request.xhr?
  - resource.region_type_ids.each_with_index do |id, i|
    = hidden_field_tag 'offer[region_type_ids][]', id, :id => "offer_region_type_ids_#{i}"
  - if resource.new_record?
    - resource.node_ids.each_with_index do |id, i|
      = hidden_field_tag 'offer[node_ids][]', id, :id => "offer_node_ids_#{i}"
- else
  = render 'shared/admin/region_type_select', :f => f

.field
  = f.label :submit_button_text
  = f.text_field :submit_button_text

.field
  = f.label :conversion_alert_email
  = f.text_field :conversion_alert_email

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
e9_crm-0.1.17 app/views/e9_crm/offers/_form_inner.html.haml
e9_crm-0.1.16 app/views/e9_crm/offers/_form_inner.html.haml
e9_crm-0.1.14 app/views/e9_crm/offers/_form_inner.html.haml
e9_crm-0.1.13 app/views/e9_crm/offers/_form_inner.html.haml
e9_crm-0.1.12 app/views/e9_crm/offers/_form_inner.html.haml
e9_crm-0.1.11 app/views/e9_crm/offers/_form_inner.html.haml
e9_crm-0.1.10 app/views/e9_crm/offers/_form_inner.html.haml
e9_crm-0.1.8 app/views/e9_crm/offers/_form_inner.html.haml