Sha256: 0d447494ac52e9a9a9368413aaffc07d117a9771a9e4a4bd3a3cabca201f4985

Contents?: true

Size: 891 Bytes

Versions: 5

Compression:

Stored size: 891 Bytes

Contents

.remote
  = simple_form_for(@lead, :html => one_submit_only(:lead), :remote => true) do |f|
    = link_to_close edit_lead_path(@lead)
    = f.hidden_field :user_id

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

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