Sha256: 6c328bf97371ed6a48465502ca7c8e8c89b4f0dbe614d1b538ef3c02ddff33fd
Contents?: true
Size: 768 Bytes
Versions: 8
Compression:
Stored size: 768 Bytes
Contents
= render 'e9_crm/campaigns/form_inner', :f => f %fieldset %legend= e9_t(:salesperson_information_legend, :scope => 'e9_crm.campaigns') .field = f.label :sales_person, :class => :req, :for => 'campaign_sales_person_id' - contact = f.object.sales_person %input.contact-autocomplete{:type => 'text', :style => contact.blank? && '' || 'display:none'} .contact-select{:style => contact.blank? && 'display:none' || ''} %span.content= contact.try(:name) %input{:type => :hidden, :name => "#{resource_instance_name}[sales_person_id]", :value => contact.try(:id)} %a{:class => :remove, :title => "Remove", :alt => "Remove"} Remove .field = help_label f, :sales_fee = f.text_field :sales_fee, :value => f.object.sales_fee.to_s
Version data entries
8 entries across 8 versions & 1 rubygems