Sha256: b19697bca41f346dd3a7b1de526cdd4a41d528e1fc5dfb3b8f5aaf9df5d87fcb

Contents?: true

Size: 721 Bytes

Versions: 5

Compression:

Stored size: 721 Bytes

Contents

= render 'e9_crm/sales_campaigns/form_inner', :f => f

%fieldset
  %legend= e9_t(:affiliate_information_legend, :scope => 'e9_crm.campaigns')
  .field
    = f.label :affiliate, :class => :req, :for => 'campaign_affiliate_id'
    %input.contact-autocomplete{:type => 'text'}
    - contact = f.object.affiliate
    .contact-select{:style => contact.blank? && 'display:none' || ''}
      %span.content= contact.try(:name)
      %input{:type => :hidden, :name => "#{resource_instance_name}[affiliate_id]", :value => contact.try(:id)}
      %a{:class => :remove, :title => "Remove", :alt => "Remove"} Remove

  .field
    = help_label f, :affiliate_fee
    = f.text_field :affiliate_fee, :value => f.object.affiliate_fee.to_s

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
e9_crm-0.1.26 app/views/e9_crm/affiliate_campaigns/_form_inner.html.haml
e9_crm-0.1.25 app/views/e9_crm/affiliate_campaigns/_form_inner.html.haml
e9_crm-0.1.24 app/views/e9_crm/affiliate_campaigns/_form_inner.html.haml
e9_crm-0.1.23 app/views/e9_crm/affiliate_campaigns/_form_inner.html.haml
e9_crm-0.1.22 app/views/e9_crm/affiliate_campaigns/_form_inner.html.haml