Sha256: 384e2add7677ad2e61a044d65416fc35426ccff706b4effc4e2d6704f1bcd786

Contents?: true

Size: 837 Bytes

Versions: 5

Compression:

Stored size: 837 Bytes

Contents

= simple_form_for(@lead, :html => one_submit_only(:lead), :remote => true) do |f|
  = link_to_close new_lead_path
  = f.hidden_field :user_id
  = hidden_field_tag "campaign", "#{@campaign.id if @campaign}"

  = f.error_messages :object_name => t('lead')

  = render "leads/top_section",    :f => f
  = render "fields/edit_custom_field_group", :f => f
  = render "leads/status",         :f => f
  = render "leads/contact",        :f => f
  = render "shared/add_comment",   :f => f
  = render "leads/web",            :f => f
  = render "fields/groups",        :f => f
  = render "entities/permissions", :f => f, :entity => @lead

  .buttonbar
    - if Setting.compound_address
      = f.submit t(:create_lead), :onclick => "crm.clear_all_hints()"
    - else
      = f.submit t(:create_lead)
    #{t :or}
    = link_to_cancel new_lead_path

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fat_free_crm-0.12.3 app/views/leads/_new.html.haml
fat_free_crm-0.12.2 app/views/leads/_new.html.haml
fat_free_crm-0.12.1 app/views/leads/_new.html.haml
fat_free_crm-0.12.0 app/views/leads/_new.html.haml
fat_free_crm-0.11.4 app/views/leads/_new.html.haml