Sha256: 969ca77de7af7880540725c7034377f45bb10c5cfd41defc6339ea0192bd92dc

Contents?: true

Size: 778 Bytes

Versions: 1

Compression:

Stored size: 778 Bytes

Contents

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

.field.tinymce
  = help_label(f, :template, :markdown => true)
  = 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

1 entries across 1 versions & 1 rubygems

Version Path
e9_crm-0.1.18 app/views/e9_crm/offers/_form_inner.html.haml