Sha256: 26a232edad16c06a9c814e972d6eac9d70c25b95e269fd82c3b2383e65ea0ee7

Contents?: true

Size: 843 Bytes

Versions: 8

Compression:

Stored size: 843 Bytes

Contents

= simple_form_for(@lead, html: one_submit_only, 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
  = hook(:entity_form, self, {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

8 entries across 8 versions & 1 rubygems

Version Path
fat_free_crm-0.19.2 app/views/leads/_new.html.haml
fat_free_crm-0.19.0 app/views/leads/_new.html.haml
fat_free_crm-0.18.2 app/views/leads/_new.html.haml
fat_free_crm-0.17.3 app/views/leads/_new.html.haml
fat_free_crm-0.18.1 app/views/leads/_new.html.haml
fat_free_crm-0.18.0 app/views/leads/_new.html.haml
fat_free_crm-0.17.2 app/views/leads/_new.html.haml
fat_free_crm-0.17.1 app/views/leads/_new.html.haml