Sha256: 873c55116bbc3c10a13c04b94b7dd43336e76d9c25a84c8378901f80fc33bfe8
Contents?: true
Size: 717 Bytes
Versions: 5
Compression:
Stored size: 717 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' %input.contact-autocomplete{:type => 'text'} - contact = f.object.sales_person .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
5 entries across 5 versions & 1 rubygems