Sha256: ce4d8bbefe89db9056a1babfe9bc0f60d01585a5f744562bb5d80c2a86ca2ad2
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
.actions.top - if resource.persisted? - if resource.lead? = link_to 'Back to Leads', leads_path - else = link_to_destroy_resource(resource, :remote => false) .field = f.label :name, nil, :class => :req = f.text_field :name .field.select = f.label :category = f.select :category, MenuOption.options_for('Deal Category'), :include_blank => 'No Category' .field = f.label :campaign, :for => 'deal_campaign_select' = f.collection_select :campaign_id, Campaign.ordered.all, :id, :to_s, {:prompt => true}, :id => 'deal_campaign_select' .field = f.label :info = f.text_area :info .field = f.label :value, nil, :class => :req = f.text_field :value .field.select = f.label :owner = f.collection_select :contact_id, Contact.all, :id, :name, :prompt => true .field.select = f.label :contacts %select.list{'data-iname' => resource_instance_name, 'data-field' => '[contact_ids]'} = deal_contact_select_options %ul.select - f.object.contacts.each do |contact| %li %span= contact.name %input{:type => :hidden, :name => "contact[contact_ids][]", :value => contact.id} %a{:class => :remove, :title => "Remove", :alt => "Remove"} Remove
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
e9_crm-0.1.13 | app/views/e9_crm/deals/_form_inner.html.haml |