Sha256: cbb5b0c715ba2fd24592c67f9882ad16bb306669fa5b46d44152cc63d23fa298

Contents?: true

Size: 752 Bytes

Versions: 8

Compression:

Stored size: 752 Bytes

Contents

= simple_form_for(@contact, html: one_submit_only, remote: true) do |f|
  = link_to_close new_contact_path
  = f.hidden_field :user_id
  = hidden_field_tag "opportunity", "#{@opportunity.id if @opportunity}"

  = f.error_messages object_name: t('contact')

  = render "contacts/top_section", f: f
  = render "fields/edit_custom_field_group", f: f
  = render "shared/add_comment",   f: f
  = render "contacts/extra",       f: f
  = render "contacts/web",         f: f
  = render "fields/groups",        f: f
  = render "entities/permissions", f: f, entity: @contact
  = hook(:entity_form, self, {f: f, entity: @contact})

  .buttonbar
    = f.submit t(:create_contact), onclick: "crm.create_contact()"
    #{t :or}
    = link_to_cancel new_contact_path

Version data entries

8 entries across 8 versions & 1 rubygems

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